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
commit 5439bd2d95
1 changed files with 3 additions and 0 deletions

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 {