Merge pull request #890 from zellyn/address-log-do-not-quote

Log grpc.Address objects with %v, not %q
This commit is contained in:
Menghan Li
2016-09-13 10:32:11 -07:00
committed by GitHub

View File

@ -685,7 +685,7 @@ func (ac *addrConn) resetTransport(closeTransport bool) error {
if e, ok := err.(transport.ConnectionError); ok && !e.Temporary() {
return err
}
grpclog.Printf("grpc: addrConn.resetTransport failed to create client transport: %v; Reconnecting to %q", err, ac.addr)
grpclog.Printf("grpc: addrConn.resetTransport failed to create client transport: %v; Reconnecting to %v", err, ac.addr)
ac.mu.Lock()
if ac.state == Shutdown {
// ac.tearDown(...) has been invoked.