From 4dfd350a385c49de7c3fa12fe4a3a9a9228f0aea Mon Sep 17 00:00:00 2001 From: Wang Long Date: Tue, 3 Jan 2017 22:40:12 +0800 Subject: [PATCH] cgroups: update the comments Signed-off-by: Wang Long --- libcontainer/cgroups/cgroups.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcontainer/cgroups/cgroups.go b/libcontainer/cgroups/cgroups.go index 35fc8eb9..25ff5158 100644 --- a/libcontainer/cgroups/cgroups.go +++ b/libcontainer/cgroups/cgroups.go @@ -27,9 +27,9 @@ type Manager interface { // Destroys the cgroup set Destroy() error - // NewCgroupManager() and LoadCgroupManager() require following attributes: + // The option func SystemdCgroups() and Cgroupfs() require following attributes: // Paths map[string]string - // Cgroups *cgroups.Cgroup + // Cgroups *configs.Cgroup // Paths maps cgroup subsystem to path at which it is mounted. // Cgroups specifies specific cgroup settings for the various subsystems