diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-12-04 06:30:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-04 06:30:31 -0500 |
commit | ec0411aecd74f5d604ded102e562541f5bd01a98 (patch) | |
tree | 9e3576af8f75e7e57d2bf1313cbdf49f6028c2e4 /utils | |
parent | 05df0c50aed0639fe382efa7d7199083cc09dbc4 (diff) | |
parent | 95b4478fb424a06511d94b89948b89acb26b360a (diff) | |
download | podman-ec0411aecd74f5d604ded102e562541f5bd01a98.tar.gz podman-ec0411aecd74f5d604ded102e562541f5bd01a98.tar.bz2 podman-ec0411aecd74f5d604ded102e562541f5bd01a98.zip |
Merge pull request #8569 from zhangguanzhang/fix-nit
Fix some nit in code and comment
Diffstat (limited to 'utils')
-rw-r--r-- | utils/utils_supported.go | 2 |
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) } } } |