mirror of https://github.com/grpc/grpc-go.git
add some more comments
This commit is contained in:
parent
e2677ad0f3
commit
57b3fb41f6
|
@ -144,6 +144,7 @@ func Dial(target string, opts ...DialOption) (*ClientConn, error) {
|
|||
// Start to monitor the error status of transport.
|
||||
go cc.transportMonitor()
|
||||
} else {
|
||||
// Start a goroutine connecting to the server asynchronously.
|
||||
go func() {
|
||||
if err := cc.resetTransport(false); err != nil {
|
||||
grpclog.Printf("Failed to dial %s: %v; please retry.", target, err)
|
||||
|
|
Loading…
Reference in New Issue