open-nomad/drivers/docker/driver_linux.go

10 lines
179 B
Go
Raw Normal View History

package docker
import (
"github.com/opencontainers/runc/libcontainer/cgroups"
)
func setCPUSetCgroup(path string, pid int) error {
return cgroups.WriteCgroupProc(path, pid)
}