cgroups: add TODO before NewCgroupManager()
Signed-off-by: Andrey Vagin <avagin@openvz.org>
This commit is contained in:
parent
4eaff5e14e
commit
6334be0ac5
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue