From 6b111ce619c7b0219bb5f921805c3884ae0e9ce7 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Tue, 9 Nov 2021 20:06:05 +0800 Subject: [PATCH] [skip ci]Fix golint error for ReleasePartitions in QueryCoord (#11515) 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 00f6f9f6e8..2bfa243a49 100644 --- a/internal/distributed/querycoord/client/client.go +++ b/internal/distributed/querycoord/client/client.go @@ -354,6 +354,7 @@ func (c *Client) LoadPartitions(ctx context.Context, req *querypb.LoadPartitions return ret.(*commonpb.Status), err } +// ReleasePartitions release the data of the specified partitions in the QueryCoord. func (c *Client) ReleasePartitions(ctx context.Context, req *querypb.ReleasePartitionsRequest) (*commonpb.Status, error) { ret, err := c.recall(func() (interface{}, error) { client, err := c.getGrpcClient()