Skip to content

Commit

Permalink
Merge pull request #6703 from dougsland/msg
Browse files Browse the repository at this point in the history
rootless_linux: improve error message
  • Loading branch information
openshift-merge-robot authored Jun 22, 2020
2 parents 0e4b734 + 11e237b commit 4afdbcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/rootless/rootless_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ func GetConfiguredMappings() ([]idtools.IDMap, []idtools.IDMap, error) {
}
mappings, err := idtools.NewIDMappings(username, username)
if err != nil {
logrus.Errorf("cannot find mappings for user %s: %v", username, err)
logrus.Errorf(
"cannot find UID/GID for user %s: %v - check rootless mode in man pages.", username, err)
} else {
uids = mappings.UIDs()
gids = mappings.GIDs()
Expand Down

0 comments on commit 4afdbcd

Please sign in to comment.