Merge pull request #9407 from giuseppe/downgrade-warning-to-debug

[NO TEST NEEDED] infra: downgrade warning to debug
This commit is contained in:
OpenShift Merge Robot 2021-02-17 09:40:31 -05:00 committed by GitHub
commit aa7c7bde79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ func (ic *ContainerEngine) SetupRootless(_ context.Context, cmd *cobra.Command)
unitName := fmt.Sprintf("podman-%d.scope", os.Getpid())
if runsUnderSystemd || conf.Engine.CgroupManager == config.SystemdCgroupsManager {
if err := utils.RunUnderSystemdScope(os.Getpid(), "user.slice", unitName); err != nil {
logrus.Warnf("Failed to add podman to systemd sandbox cgroup: %v", err)
logrus.Debugf("Failed to add podman to systemd sandbox cgroup: %v", err)
}
}
}