open-nomad/client/fingerprint/cgroup_default.go

16 lines
411 B
Go
Raw Normal View History

2018-05-30 17:02:30 +00:00
// +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
}