Skip to content

Commit

Permalink
oci: rename sub-cgroup to runtime instead of supervisor
Browse files Browse the repository at this point in the history
we are having a hard time figuring out a failure in the CI:

#11191

Rename the sub-cgroup created here, so we can be certain the error is
caused by this part.

[NO NEW TESTS NEEDED] we need this for the CI.

Signed-off-by: Giuseppe Scrivano <[email protected]>
  • Loading branch information
giuseppe committed Oct 28, 2021
1 parent a05a445 commit 9e5cd32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpod/oci_conmon_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ func (r *ConmonOCIRuntime) createOCIContainer(ctr *Container, restoreOptions *Co
}

if ctr.config.CgroupsMode == cgroupSplit {
if err := utils.MoveUnderCgroupSubtree("supervisor"); err != nil {
if err := utils.MoveUnderCgroupSubtree("runtime"); err != nil {
return err
}
}
Expand Down

0 comments on commit 9e5cd32

Please sign in to comment.