open-nomad/client/driver/exec_default.go

15 lines
380 B
Go
Raw Normal View History

2016-07-11 19:23:46 +00:00
//+build darwin dragonfly freebsd netbsd openbsd solaris windows
package driver
import (
cstructs "github.com/hashicorp/nomad/client/structs"
"github.com/hashicorp/nomad/helper"
)
func (d *ExecDriver) Fingerprint(req *cstructs.FingerprintRequest, resp *cstructs.FingerprintResponse) error {
d.fingerprintSuccess = helper.BoolToPtr(false)
2018-01-31 22:03:55 +00:00
resp.Detected = true
return nil
}