Fix noisy log

This commit is contained in:
Alex Dadgar 2017-02-23 14:40:24 -08:00
parent 885f4ae9f9
commit 2239503e6e

View file

@ -25,7 +25,7 @@ func (d *ExecDriver) Fingerprint(cfg *config.Config, node *structs.Node) (bool,
return false, nil
}
if d.fingerprintSuccess == nil || *d.fingerprintSuccess {
if d.fingerprintSuccess == nil || !*d.fingerprintSuccess {
d.logger.Printf("[DEBUG] driver.exec: exec driver is enabled")
}
node.Attributes[execDriverAttr] = "1"