summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi/system.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-29 17:04:24 +0000
committerGitHub <noreply@github.com>2021-03-29 17:04:24 +0000
commitbb3e8a4d13d3ffc2ff6f57b0509febcb4ed0c17a (patch)
tree09edc5ad72632ac8afcfbbf5e5ea077a3ab5092a /pkg/domain/infra/abi/system.go
parent58bf62f2d1cfa8466710ef3b815d572e9c9d3cdf (diff)
parent195f340ad432436f875befa546eff2a0d801a620 (diff)
downloadpodman-bb3e8a4d13d3ffc2ff6f57b0509febcb4ed0c17a.tar.gz
podman-bb3e8a4d13d3ffc2ff6f57b0509febcb4ed0c17a.tar.bz2
podman-bb3e8a4d13d3ffc2ff6f57b0509febcb4ed0c17a.zip
Merge pull request #9858 from rhatdan/warn
[NO TESTS NEEDED] Drop Warning to Info, if cgroups not mounted
Diffstat (limited to 'pkg/domain/infra/abi/system.go')
-rw-r--r--pkg/domain/infra/abi/system.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/abi/system.go b/pkg/domain/infra/abi/system.go
index 9f7c8919b..a3e753384 100644
--- a/pkg/domain/infra/abi/system.go
+++ b/pkg/domain/infra/abi/system.go
@@ -67,7 +67,7 @@ func (ic *ContainerEngine) SetupRootless(_ context.Context, cmd *cobra.Command)
if os.Geteuid() == 0 {
ownsCgroup, err := cgroups.UserOwnsCurrentSystemdCgroup()
if err != nil {
- logrus.Warnf("Failed to detect the owner for the current cgroup: %v", err)
+ logrus.Infof("Failed to detect the owner for the current cgroup: %v", err)
}
if !ownsCgroup {
conf, err := ic.Config(context.Background())