From 6334be0ac56b2a38456d65b29326aad8dd0bcc60 Mon Sep 17 00:00:00 2001 From: Andrey Vagin Date: Wed, 14 Jan 2015 19:48:25 +0300 Subject: [PATCH] cgroups: add TODO before NewCgroupManager() Signed-off-by: Andrey Vagin --- cgroups/manager/manager.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cgroups/manager/manager.go b/cgroups/manager/manager.go index 87396813..bd5fd48a 100644 --- a/cgroups/manager/manager.go +++ b/cgroups/manager/manager.go @@ -7,6 +7,9 @@ import ( ) // Create a new cgroup manager with specified configuration +// TODO this object is not really initialized until Apply() is called. +// Maybe make this to the equivalent of Apply() at some point? +// @vmarmol func NewCgroupManager(cgroups *cgroups.Cgroup) cgroups.Manager { if systemd.UseSystemd() { return &systemd.Manager{