Moved the destroycgroup method into executor

This commit is contained in:
Diptanu Choudhury
2016-02-08 16:08:29 -08:00
parent 7dd3eec684
commit cc6e2b73f0
8 changed files with 39 additions and 77 deletions

View File

@@ -2,11 +2,15 @@
package executor
import (
cgroupConfig "github.com/opencontainers/runc/libcontainer/configs"
)
func (e *UniversalExecutor) configureChroot() error {
return nil
}
func (e *UniversalExecutor) destroyCgroup() error {
func DestroyCgroup(groups *cgroupConfig.Cgroup) error {
return nil
}