summaryrefslogtreecommitdiff
path: root/libpod/container_api.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/container_api.go')
-rw-r--r--libpod/container_api.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/libpod/container_api.go b/libpod/container_api.go
index 72df60eb8..6fdc45589 100644
--- a/libpod/container_api.go
+++ b/libpod/container_api.go
@@ -285,8 +285,7 @@ func (c *Container) Init() (err error) {
c.state.ConfigPath = jsonPath
// With the spec complete, do an OCI create
- // TODO set cgroup parent in a sane fashion
- if err := c.runtime.ociRuntime.createContainer(c, CgroupParent); err != nil {
+ if err := c.runtime.ociRuntime.createContainer(c, c.config.CgroupParent); err != nil {
return err
}