From dffb68e0545cf479f70459a3488db11f2cd34adf Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Wed, 26 Aug 2015 17:14:56 -0700 Subject: [PATCH] Fix arity in log call for TCP resolution failure --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 4c17fde16..64cb706a5 100644 --- a/client/client.go +++ b/client/client.go @@ -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