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

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
pull/10517/head
cai.zhang 2021-10-23 18:21:38 +08:00 committed by GitHub
parent dc4ea15339
commit 7669075ae3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -305,6 +305,7 @@ func (c *Client) LoadSegments(ctx context.Context, req *querypb.LoadSegmentsRequ
return ret.(*commonpb.Status), err
}
// ReleaseCollection releases the data of the specified collection in QueryNode.
func (c *Client) ReleaseCollection(ctx context.Context, req *querypb.ReleaseCollectionRequest) (*commonpb.Status, error) {
ret, err := c.recall(func() (interface{}, error) {
client, err := c.getGrpcClient()