From 71260d21715bff9c2ac999d546349d4f4b77ef1d Mon Sep 17 00:00:00 2001 From: Vitaly Isaev Date: Tue, 18 Jul 2017 20:25:36 +0300 Subject: [PATCH] Fix logging method (#1375) --- clientconn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientconn.go b/clientconn.go index fd5c1cf8..e4d6a0b6 100644 --- a/clientconn.go +++ b/clientconn.go @@ -632,7 +632,7 @@ func (cc *ClientConn) resetAddrConn(addr Address, block bool, tearDownErr error) // Start a goroutine connecting to the server asynchronously. go func() { if err := ac.resetTransport(false); err != nil { - grpclog.Warningln("Failed to dial %s: %v; please retry.", ac.addr.Addr, err) + grpclog.Warningf("Failed to dial %s: %v; please retry.", ac.addr.Addr, err) if err != errConnClosing { // Keep this ac in cc.conns, to get the reason it's torn down. ac.tearDown(err)