From 95b4478fb424a06511d94b89948b89acb26b360a Mon Sep 17 00:00:00 2001 From: zhangguanzhang Date: Thu, 3 Dec 2020 19:42:30 +0800 Subject: Fix some nit Signed-off-by: zhangguanzhang --- utils/utils_supported.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') 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) } } } -- cgit v1.2.3-54-g00ecf