open-nomad/client/fingerprint/cgroup_default.go
2018-05-31 18:05:03 -07:00

16 lines
411 B
Go

// +build !linux
package fingerprint
import cstructs "github.com/hashicorp/nomad/client/structs"
// 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
}
func (f *CGroupFingerprint) Fingerprint(*cstructs.FingerprintRequest, *cstructs.FingerprintResponse) error {
return nil
}