summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorzhangguanzhang <zhangguanzhang@qq.com>2020-12-03 19:42:30 +0800
committerzhangguanzhang <zhangguanzhang@qq.com>2020-12-04 09:20:42 +0800
commit95b4478fb424a06511d94b89948b89acb26b360a (patch)
tree6cc666a727c08ea862cf4b9a2cd1d4eb9c71c09d /utils
parent85b412ddcdacb635e13ec67ecd2df5990dbdca02 (diff)
downloadpodman-95b4478fb424a06511d94b89948b89acb26b360a.tar.gz
podman-95b4478fb424a06511d94b89948b89acb26b360a.tar.bz2
podman-95b4478fb424a06511d94b89948b89acb26b360a.zip
Fix some nit
Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/utils_supported.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/utils_supported.go b/utils/utils_supported.go
index e6978ca6f..6f517dc72 100644
--- a/utils/utils_supported.go
+++ b/utils/utils_supported.go
@@ -184,7 +184,7 @@ func moveUnderCgroup(cgroup, subtree string, processes []uint32) error {
}
for _, pid := range bytes.Split(processesData, []byte("\n")) {
if _, err := f.Write(pid); err != nil {
- logrus.Warnf("Cannot move process %d to cgroup %q", pid, newCgroup)
+ logrus.Warnf("Cannot move process %s to cgroup %q", string(pid), newCgroup)
}
}
}