[skip ci]Fix golint error for ReleasePartitions in QueryCoord (#11515)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2021-11-09 20:06:05 +08:00 committed by GitHub
parent ddc80f14fc
commit 6b111ce619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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