mirror of
https://github.com/containers/podman.git
synced 2025-10-14 17:55:51 +08:00
libpod: split out cgroups call into linux specific file
So that we do not cause compile error on freebsd. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -326,3 +326,7 @@ func GetLimits(resource *spec.LinuxResources) (runcconfig.Resources, error) {
|
||||
final.Unified = resource.Unified
|
||||
return *final, nil
|
||||
}
|
||||
|
||||
func moveToRuntimeCgroup() error {
|
||||
return cgroups.MoveUnderCgroupSubtree("runtime")
|
||||
}
|
||||
|
Reference in New Issue
Block a user