diff --git a/internal/distributed/querycoord/client/client.go b/internal/distributed/querycoord/client/client.go index cd4aaed0cf..b472a557f3 100644 --- a/internal/distributed/querycoord/client/client.go +++ b/internal/distributed/querycoord/client/client.go @@ -225,6 +225,7 @@ func (c *Client) Register() error { return nil } +// GetComponentStates gets the component states of QueryCoord. func (c *Client) GetComponentStates(ctx context.Context) (*internalpb.ComponentStates, error) { ret, err := c.recall(func() (interface{}, error) { client, err := c.getGrpcClient()