From 6ea7340dd5a82419b54884d756b0780bb22ec93a Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Sat, 23 Oct 2021 18:27:27 +0800 Subject: [PATCH] [skip ci]Fix golint error for ReleaseCollection in QueryNode (#10510) 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 da5380d36e..9f4bc4c070 100644 --- a/internal/distributed/querynode/client/client.go +++ b/internal/distributed/querynode/client/client.go @@ -321,6 +321,7 @@ func (c *Client) ReleaseCollection(ctx context.Context, req *querypb.ReleaseColl return ret.(*commonpb.Status), err } +// ReleasePartitions releases the data of the specified partitions in QueryNode. func (c *Client) ReleasePartitions(ctx context.Context, req *querypb.ReleasePartitionsRequest) (*commonpb.Status, error) { ret, err := c.recall(func() (interface{}, error) { client, err := c.getGrpcClient()