2016-01-27 06:22:25 +00:00
|
|
|
// +build !linux
|
|
|
|
|
|
|
|
package fingerprint
|
|
|
|
|
2016-05-09 07:54:33 +00:00
|
|
|
import (
|
|
|
|
client "github.com/hashicorp/nomad/client/config"
|
|
|
|
"github.com/hashicorp/nomad/nomad/structs"
|
|
|
|
)
|
|
|
|
|
2016-01-29 13:34:29 +00:00
|
|
|
// FindCgroupMountpointDir returns an empty path on non-Linux systems
|
2016-01-27 06:22:25 +00:00
|
|
|
func FindCgroupMountpointDir() (string, error) {
|
|
|
|
return "", nil
|
|
|
|
}
|
2016-05-09 07:54:33 +00:00
|
|
|
|
|
|
|
// Fingerprint tries to find a valid cgroup moint point
|
|
|
|
func (f *CGroupFingerprint) Fingerprint(cfg *client.Config, node *structs.Node) (bool, error) {
|
|
|
|
return false, nil
|
|
|
|
}
|