clientconn: fix a typo in GetMethodConfig documentation (#1867)
This commit is contained in:
@ -865,7 +865,7 @@ func (ac *addrConn) tryUpdateAddrs(addrs []resolver.Address) bool {
|
|||||||
// the corresponding MethodConfig.
|
// the corresponding MethodConfig.
|
||||||
// If there isn't an exact match for the input method, we look for the default config
|
// If there isn't an exact match for the input method, we look for the default config
|
||||||
// under the service (i.e /service/). If there is a default MethodConfig for
|
// under the service (i.e /service/). If there is a default MethodConfig for
|
||||||
// the serivce, we return it.
|
// the service, we return it.
|
||||||
// Otherwise, we return an empty MethodConfig.
|
// Otherwise, we return an empty MethodConfig.
|
||||||
func (cc *ClientConn) GetMethodConfig(method string) MethodConfig {
|
func (cc *ClientConn) GetMethodConfig(method string) MethodConfig {
|
||||||
// TODO: Avoid the locking here.
|
// TODO: Avoid the locking here.
|
||||||
|
Reference in New Issue
Block a user