From bb12c3d39e6595f7e3db9e0195c43a88da3bebfd Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Thu, 4 Nov 2021 19:06:30 +0800 Subject: [PATCH] [skip ci]Fix golint error for GetComponentStates in QueryCoord (#11242) Signed-off-by: cai.zhang --- internal/distributed/querycoord/client/client.go | 1 + 1 file changed, 1 insertion(+) 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()