summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-16 11:10:30 -0400
committerGitHub <noreply@github.com>2021-06-16 11:10:30 -0400
commitb3f61ec38cda171caf8e8624a9ec875ba85bc20d (patch)
tree404172d5605e9e5af93ca99207756cc876ace074 /utils
parent85bf412bb5843adba526ac264dd4d07a51c8a422 (diff)
parent404d5edb1557e3d2cb255d38bd89274586c4c100 (diff)
downloadpodman-b3f61ec38cda171caf8e8624a9ec875ba85bc20d.tar.gz
podman-b3f61ec38cda171caf8e8624a9ec875ba85bc20d.tar.bz2
podman-b3f61ec38cda171caf8e8624a9ec875ba85bc20d.zip
Merge pull request #10451 from giuseppe/test-ENOSYS
tests: update CI images
Diffstat (limited to 'utils')
-rw-r--r--utils/utils_supported.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/utils_supported.go b/utils/utils_supported.go
index ad6192255..8668e3fba 100644
--- a/utils/utils_supported.go
+++ b/utils/utils_supported.go
@@ -172,7 +172,7 @@ func moveUnderCgroup(cgroup, subtree string, processes []uint32) error {
if len(processes) > 0 {
for _, pid := range processes {
if _, err := f.Write([]byte(fmt.Sprintf("%d\n", pid))); err != nil {
- logrus.Warnf("Cannot move process %d to cgroup %q", pid, newCgroup)
+ logrus.Debugf("Cannot move process %d to cgroup %q: %v", pid, newCgroup, err)
}
}
} else {
@@ -185,7 +185,7 @@ func moveUnderCgroup(cgroup, subtree string, processes []uint32) error {
continue
}
if _, err := f.Write(pid); err != nil {
- logrus.Warnf("Cannot move process %s to cgroup %q", string(pid), newCgroup)
+ logrus.Debugf("Cannot move process %s to cgroup %q: %v", string(pid), newCgroup, err)
}
}
}