summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-09-27 17:22:36 +0200
committerGitHub <noreply@github.com>2019-09-27 17:22:36 +0200
commit92e1b661ff5fba140ba07dd2c956e5aede90e9b5 (patch)
treec6847a0e4e0d2be4e72aec8a00c9aaa5816d78a9 /pkg
parent849c36d1ad7a4cda1ed793653b0a80660dd4fdcc (diff)
parent62c0b387f560efedfb3cc02ba3c4803d80882d82 (diff)
downloadpodman-92e1b661ff5fba140ba07dd2c956e5aede90e9b5.tar.gz
podman-92e1b661ff5fba140ba07dd2c956e5aede90e9b5.tar.bz2
podman-92e1b661ff5fba140ba07dd2c956e5aede90e9b5.zip
Merge pull request #4124 from mheon/set_log_level_early
Set log-level immediately, before rootless setup
Diffstat (limited to 'pkg')
-rw-r--r--pkg/rootless/rootless_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/rootless/rootless_linux.go b/pkg/rootless/rootless_linux.go
index ecb84f6a9..6f6239e5f 100644
--- a/pkg/rootless/rootless_linux.go
+++ b/pkg/rootless/rootless_linux.go
@@ -365,7 +365,7 @@ func GetConfiguredMappings() ([]idtools.IDMap, []idtools.IDMap, error) {
}
mappings, err := idtools.NewIDMappings(username, username)
if err != nil {
- logrus.Warnf("cannot find mappings for user %s: %v", username, err)
+ logrus.Errorf("cannot find mappings for user %s: %v", username, err)
} else {
uids = mappings.UIDs()
gids = mappings.GIDs()