Skip to content

Commit

Permalink
fixed missing variable for Printf
Browse files Browse the repository at this point in the history
  • Loading branch information
hurngchunlee committed Mar 14, 2023
1 parent e8b7c6e commit d6aca68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cmd/repoadm/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ var exportUpdateCmd = &cobra.Command{
log.Warnf("[%s] cannot map repo user to local user: %s", nLogical, u)
continue
}
log.Debugf("[%s] umap: %+v", um)
log.Debugf("[%s] umap: %+v", nLogical, um)

uadd = append(uadd, um)
acl = fmt.Sprintf("%s:r-x,%s", um.UIDLocal, acl)
Expand Down Expand Up @@ -324,7 +324,7 @@ var exportUpdateCmd = &cobra.Command{
}
log.Debugf("[%s] collExport: %+v", nLogical, coll)
if err := vdb.set("cmap", nPhysical, &coll); err != nil {
log.Errorf("[%s] cannot update viewerdb: %s", err)
log.Errorf("[%s] cannot update viewerdb: %s", nLogical, err)
}
}
}()
Expand Down

0 comments on commit d6aca68

Please sign in to comment.