Skip to content

Commit

Permalink
Fix logging method (#1375)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyisaev2 authored and menghanl committed Jul 18, 2017
1 parent c7e2c00 commit 71260d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clientconn.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 71260d2

Please sign in to comment.