diff --git a/client/pd_service_discovery.go b/client/pd_service_discovery.go index 7e549fb0326..f9bdf888b9f 100644 --- a/client/pd_service_discovery.go +++ b/client/pd_service_discovery.go @@ -187,7 +187,7 @@ func (c *pdServiceClient) IsConnectedToLeader() bool { return c.isLeader } -// NetworkAvailable implements ServiceClient. +// Available implements ServiceClient. func (c *pdServiceClient) Available() bool { if c == nil { return false