Skip to content

Commit 71260d2

Browse files
vitalyisaev2menghanl
authored andcommitted
Fix logging method (#1375)
1 parent c7e2c00 commit 71260d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clientconn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ func (cc *ClientConn) resetAddrConn(addr Address, block bool, tearDownErr error)
632632
// Start a goroutine connecting to the server asynchronously.
633633
go func() {
634634
if err := ac.resetTransport(false); err != nil {
635-
grpclog.Warningln("Failed to dial %s: %v; please retry.", ac.addr.Addr, err)
635+
grpclog.Warningf("Failed to dial %s: %v; please retry.", ac.addr.Addr, err)
636636
if err != errConnClosing {
637637
// Keep this ac in cc.conns, to get the reason it's torn down.
638638
ac.tearDown(err)

0 commit comments

Comments
 (0)