Skip to content

Commit

Permalink
[skip ci]Fix golint error for ReleaseSegments in QueryNode (#10553)
Browse files Browse the repository at this point in the history
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
  • Loading branch information
xiaocai2333 authored Oct 25, 2021
1 parent c3cce20 commit fb7d127
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/distributed/querynode/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ func (c *Client) ReleasePartitions(ctx context.Context, req *querypb.ReleasePart
return ret.(*commonpb.Status), err
}

// ReleaseSegments releases the data of the specified segments in QueryNode.
func (c *Client) ReleaseSegments(ctx context.Context, req *querypb.ReleaseSegmentsRequest) (*commonpb.Status, error) {
ret, err := c.recall(func() (interface{}, error) {
client, err := c.getGrpcClient()
Expand Down

0 comments on commit fb7d127

Please sign in to comment.