|
@@ -1480,7 +1480,7 @@ func (daemon *Daemon) initCgroupsPath(path string) error {
|
|
|
// for the period and runtime as this limits what the children can be set to.
|
|
|
daemon.initCgroupsPath(filepath.Dir(path))
|
|
|
|
|
|
- mnt, root, err := cgroups.FindCgroupMountpointAndRoot("cpu")
|
|
|
+ mnt, root, err := cgroups.FindCgroupMountpointAndRoot("", "cpu")
|
|
|
if err != nil {
|
|
|
return err
|
|
|
}
|