diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-12-03 10:59:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 10:59:33 -0500 |
commit | 70284b18cc7d4dc478c439cdda60ba64cfec060b (patch) | |
tree | e8bdc4217c89c7891116da9977d8e4ec4848bd0e /libpod/runtime_pod_linux.go | |
parent | c675d8a3c6335e495f7e0f055443a7acb63de911 (diff) | |
parent | f00cc25a7c655022785389e6778693c6a7763bdc (diff) | |
download | podman-70284b18cc7d4dc478c439cdda60ba64cfec060b.tar.gz podman-70284b18cc7d4dc478c439cdda60ba64cfec060b.tar.bz2 podman-70284b18cc7d4dc478c439cdda60ba64cfec060b.zip |
Merge pull request #8479 from rhatdan/log
Drop default log-level from error to warn
Diffstat (limited to 'libpod/runtime_pod_linux.go')
-rw-r--r-- | libpod/runtime_pod_linux.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/runtime_pod_linux.go b/libpod/runtime_pod_linux.go index 25598ce4d..1eb42660c 100644 --- a/libpod/runtime_pod_linux.go +++ b/libpod/runtime_pod_linux.go @@ -117,7 +117,7 @@ func (r *Runtime) NewPod(ctx context.Context, options ...PodCreateOption) (_ *Po return nil, errors.Errorf("Pods must have an infra container to share namespaces") } if pod.HasInfraContainer() && !pod.SharesNamespaces() { - logrus.Warnf("Pod has an infra container, but shares no namespaces") + logrus.Infof("Pod has an infra container, but shares no namespaces") } if err := r.state.AddPod(pod); err != nil { @@ -212,7 +212,7 @@ func (r *Runtime) removePod(ctx context.Context, p *Pod, removeCtrs, force bool) // Don't try if we failed to retrieve the cgroup if err == nil { if err := conmonCgroup.Update(resLimits); err != nil { - logrus.Warnf("Error updating pod %s conmon cgroup %s PID limit: %v", p.ID(), conmonCgroupPath, err) + logrus.Warnf("Error updating pod %s conmon cgroup PID limit: %v", p.ID(), err) } } } |