Merge pull request #890 from zellyn/address-log-do-not-quote
Log grpc.Address objects with %v, not %q
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user