From 4b9db5417d6be06c59ad0639a083926462c21113 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Wed, 10 Nov 2021 20:01:54 +0800 Subject: [PATCH] [skip ci]Fix golint for GetSegmentInfo in QueryCoord (#11569) 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 7c957468f0..64c192759d 100644 --- a/internal/distributed/querycoord/client/client.go +++ b/internal/distributed/querycoord/client/client.go @@ -402,6 +402,7 @@ func (c *Client) GetPartitionStates(ctx context.Context, req *querypb.GetPartiti return ret.(*querypb.GetPartitionStatesResponse), err } +// GetSegmentInfo gets the information of the specified segment from QueryCoord. func (c *Client) GetSegmentInfo(ctx context.Context, req *querypb.GetSegmentInfoRequest) (*querypb.GetSegmentInfoResponse, error) { ret, err := c.recall(func() (interface{}, error) { client, err := c.getGrpcClient()