add some more comments

This commit is contained in:
iamqizhao 2015-06-04 15:52:06 -07:00
parent e2677ad0f3
commit 57b3fb41f6
1 changed files with 1 additions and 0 deletions

View File

@ -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)