Merge pull request #682 from anusha-ragunathan/dont-cleanpath

Dont cleanPath for systemd cgroup paths.
This commit is contained in:
Michael Crosby
2016-03-24 11:18:51 -07:00
+3
View File
@@ -356,6 +356,9 @@ func createCgroupConfig(name string, useSystemdCgroup bool, spec *specs.Spec) (*
if spec.Linux.CgroupsPath != nil {
myCgroupPath = libcontainerUtils.CleanPath(*spec.Linux.CgroupsPath)
if useSystemdCgroup {
myCgroupPath = *spec.Linux.CgroupsPath
}
}
if useSystemdCgroup {