[skip ci]Fix golint error for ReleaseCollection in QueryNode (#10510)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2021-10-23 18:27:27 +08:00 committed by GitHub
parent 51d82fc71d
commit 6ea7340dd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()