Refactor cgroups file locations

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
Michael Crosby 2014-04-18 21:14:58 -07:00
parent 0868f77370
commit 956cdea49f
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ func (ns *linuxNs) Exec(container *libcontainer.Container, term Terminal, args [
func (ns *linuxNs) SetupCgroups(container *libcontainer.Container, nspid int) (cgroups.ActiveCgroup, error) {
if container.Cgroups != nil {
return container.Cgroups.Apply(nspid)
return cgroups.Apply(container.Cgroups, nspid)
}
return nil, nil
}