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:
Zellyn Hunter 2016-09-12 15:09:10 -04:00
parent 3e1c91c1e0
commit a45515c6ca
1 changed files with 1 additions and 1 deletions

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.