Pass cgroup manager to oci runtime manager

Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
Mrunal Patel 2016-12-19 15:05:32 -08:00
parent edad8f866d
commit 5eab56e002
2 changed files with 14 additions and 12 deletions

View file

@ -304,7 +304,7 @@ func New(config *Config) (*Server, error) {
return nil, err
}
r, err := oci.New(config.Runtime, config.ContainerDir, config.Conmon, config.ConmonEnv)
r, err := oci.New(config.Runtime, config.ContainerDir, config.Conmon, config.ConmonEnv, config.CgroupManager)
if err != nil {
return nil, err
}