open-nomad/client/driver/exec_default.go
Chelsea Holland Komlo b8e8064835 code review fixup
2018-01-31 18:34:03 -05:00

15 lines
380 B
Go

//+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)
resp.Detected = true
return nil
}