clientconn: fix a typo in GetMethodConfig documentation (#1867)

This commit is contained in:
Thomas Meson
2018-02-21 19:14:52 +01:00
committed by Menghan Li
parent dfa18343df
commit 12da026194

View File

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