Skip to content

Commit

Permalink
Update the comment for newCCResolverWrapper. (#3123)
Browse files Browse the repository at this point in the history
  • Loading branch information
easwars committed Oct 28, 2019
1 parent 0f2d539 commit 88080a2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions resolver_conn_wrapper.go
Expand Up @@ -73,12 +73,9 @@ func parseTarget(target string) (ret resolver.Target) {
return ret
}

// newCCResolverWrapper parses cc.target for scheme and gets the resolver
// builder for this scheme and builds the resolver. The monitoring goroutine
// for it is not started yet and can be created by calling start().
//
// If withResolverBuilder dial option is set, the specified resolver will be
// used instead.
// newCCResolverWrapper uses the resolver.Builder stored in the ClientConn to
// build a Resolver and returns a ccResolverWrapper object which wraps the
// newly built resolver.
func newCCResolverWrapper(cc *ClientConn) (*ccResolverWrapper, error) {
rb := cc.dopts.resolverBuilder
if rb == nil {
Expand Down

0 comments on commit 88080a2

Please sign in to comment.