Fix arity in log call for TCP resolution failure

This commit is contained in:
Chris Bednarski
2015-08-26 17:14:56 -07:00
parent d6604b9d8f
commit dffb68e054

View File

@@ -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