From ecae998edbb671daa9ae2cc976732f01dc1492b9 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Wed, 10 Nov 2021 19:59:53 +0800 Subject: [PATCH] [skip ci]Fix golint for GetPartitionStates in QueryCoord (#11568) 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 5cdb5e4543..7c957468f0 100644 --- a/internal/distributed/querycoord/client/client.go +++ b/internal/distributed/querycoord/client/client.go @@ -386,6 +386,7 @@ func (c *Client) CreateQueryChannel(ctx context.Context, req *querypb.CreateQuer return ret.(*querypb.CreateQueryChannelResponse), err } +// GetPartitionStates gets the states of the specified partition. func (c *Client) GetPartitionStates(ctx context.Context, req *querypb.GetPartitionStatesRequest) (*querypb.GetPartitionStatesResponse, error) { ret, err := c.recall(func() (interface{}, error) { client, err := c.getGrpcClient()