mirror of https://github.com/grpc/grpc-go.git
Log grpc.Address objects with %v, not %q
Structs should use %v; %q only makes sense for strings, chars, etc.
This commit is contained in:
parent
3e1c91c1e0
commit
a45515c6ca
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue