mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Moved the destroycgroup method into executor
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user