From 90140a56880b274067c454b3f9f9c88f9a627d37 Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Thu, 11 Feb 2016 19:57:46 +1100 Subject: [PATCH] libcontainer: cgroups: fs: fix innerPath Fix m.Path legacy code to actually work. Signed-off-by: Aleksa Sarai --- libcontainer/cgroups/fs/apply_raw.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcontainer/cgroups/fs/apply_raw.go b/libcontainer/cgroups/fs/apply_raw.go index 21646e57..81bf0b89 100644 --- a/libcontainer/cgroups/fs/apply_raw.go +++ b/libcontainer/cgroups/fs/apply_raw.go @@ -283,7 +283,7 @@ func getCgroupData(c *configs.Cgroup, pid int) (*cgroupData, error) { return &cgroupData{ root: root, - innerPath: c.Path, + innerPath: innerPath, config: c, pid: pid, }, nil