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
commit f16b133664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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
} }
} }