aboutsummaryrefslogtreecommitdiff
path: root/utils/utils_supported.go
diff options
context:
space:
mode:
authorzhangguanzhang <zhangguanzhang@qq.com>2020-12-03 19:42:30 +0800
committerMatthew Heon <mheon@redhat.com>2020-12-07 15:24:35 -0500
commit18d75e5ecc36fbb3bcc1f2daf37948ba4ce541d6 (patch)
treecb75eb872b98948da3171cdd37e127e471c9f2a7 /utils/utils_supported.go
parent3288edcc328118ab8adc9b4232148e4063d00928 (diff)
downloadpodman-18d75e5ecc36fbb3bcc1f2daf37948ba4ce541d6.tar.gz
podman-18d75e5ecc36fbb3bcc1f2daf37948ba4ce541d6.tar.bz2
podman-18d75e5ecc36fbb3bcc1f2daf37948ba4ce541d6.zip
Fix some nit
Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
Diffstat (limited to 'utils/utils_supported.go')
-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)
}
}
}