open-nomad/client/lib/cgutil/cgutil_default.go
Mahmood Ali 4d90afb425 gofmt all the files
mostly to handle build directives in 1.17.
2021-10-01 10:14:28 -04:00

15 lines
276 B
Go

//go:build !linux
// +build !linux
package cgutil
const (
DefaultCgroupParent = ""
)
// FindCgroupMountpointDir is used to find the cgroup mount point on a Linux
// system. Here it is a no-op implemtation
func FindCgroupMountpointDir() (string, error) {
return "", nil
}