mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
Fix arity in log call for TCP resolution failure
This commit is contained in:
@@ -188,7 +188,7 @@ func (c *Client) pickServer() (net.Addr, error) {
|
||||
c.lastRPCTime = time.Now()
|
||||
return addr, nil
|
||||
}
|
||||
c.logger.Printf("[WARN] client: failed to resolve '%s': %v", err)
|
||||
c.logger.Printf("[WARN] client: failed to resolve '%s': %s", servers[i], err)
|
||||
}
|
||||
|
||||
// Bail if we reach this point
|
||||
|
||||
Reference in New Issue
Block a user