Merge pull request #12120 from giuseppe/rename-cgroup-subtree

oci: rename sub-cgroup to runtime instead of supervisor
This commit is contained in:
OpenShift Merge Robot
2021-10-28 12:15:26 +00:00
committed by GitHub

View File

@ -1016,7 +1016,7 @@ func (r *ConmonOCIRuntime) createOCIContainer(ctr *Container, restoreOptions *Co
} }
if ctr.config.CgroupsMode == cgroupSplit { if ctr.config.CgroupsMode == cgroupSplit {
if err := utils.MoveUnderCgroupSubtree("supervisor"); err != nil { if err := utils.MoveUnderCgroupSubtree("runtime"); err != nil {
return err return err
} }
} }