Skip to content

Commit

Permalink
Merge pull request containers#10751 from vrothberg/v3.2-backport-969c…
Browse files Browse the repository at this point in the history
…c3237be5

[v3.2] utils: move message from warning to debug
  • Loading branch information
openshift-merge-robot authored Jun 22, 2021
2 parents ab4d0cf + dac2d31 commit 0171162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/utils_supported.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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)
}
}
}
Expand Down

0 comments on commit 0171162

Please sign in to comment.