Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com>
  • Loading branch information
CabinfeverB committed Dec 25, 2023
1 parent a2d7dfb commit b2c0b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/pd_service_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2c0b16

Please sign in to comment.