Skip to content

Commit

Permalink
docs: small docs fixed to WithDisableServiceConfig (#2819)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanbza authored and menghanl committed May 16, 2019
1 parent 4a199db commit 263405c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dialoptions.go
Expand Up @@ -466,12 +466,12 @@ func WithChannelzParentID(id int64) DialOption {
})
}

// WithDisableServiceConfig returns a DialOption that causes grpc to ignore any
// WithDisableServiceConfig returns a DialOption that causes gRPC to ignore any
// service config provided by the resolver and provides a hint to the resolver
// to not fetch service configs.
//
// Note that, this dial option only disables service config from resolver. If
// default service config is provided, grpc will use the default service config.
// Note that this dial option only disables service config from resolver. If
// default service config is provided, gRPC will use the default service config.
func WithDisableServiceConfig() DialOption {
return newFuncDialOption(func(o *dialOptions) {
o.disableServiceConfig = true
Expand Down

0 comments on commit 263405c

Please sign in to comment.