From fb7d1271a40378ca3c8ca5de43f2fe69670d23a9 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Mon, 25 Oct 2021 17:59:30 +0800 Subject: [PATCH] [skip ci]Fix golint error for ReleaseSegments in QueryNode (#10553) Signed-off-by: cai.zhang --- internal/distributed/querynode/client/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/querynode/client/client.go b/internal/distributed/querynode/client/client.go index 9f4bc4c070..a15c3d86a1 100644 --- a/internal/distributed/querynode/client/client.go +++ b/internal/distributed/querynode/client/client.go @@ -337,6 +337,7 @@ func (c *Client) ReleasePartitions(ctx context.Context, req *querypb.ReleasePart return ret.(*commonpb.Status), err } +// ReleaseSegments releases the data of the specified segments in QueryNode. func (c *Client) ReleaseSegments(ctx context.Context, req *querypb.ReleaseSegmentsRequest) (*commonpb.Status, error) { ret, err := c.recall(func() (interface{}, error) { client, err := c.getGrpcClient()