[skip ci]Fix golint error for GetSegmentInfo in QueryNode (#10554)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
pull/10578/head
cai.zhang 2021-10-25 18:05:34 +08:00 committed by GitHub
parent 2713988ff2
commit 96e89a9d4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -353,6 +353,7 @@ func (c *Client) ReleaseSegments(ctx context.Context, req *querypb.ReleaseSegmen
return ret.(*commonpb.Status), err
}
// GetSegmentInfo gets the information of the specified segments in QueryNode.
func (c *Client) GetSegmentInfo(ctx context.Context, req *querypb.GetSegmentInfoRequest) (*querypb.GetSegmentInfoResponse, error) {
ret, err := c.recall(func() (interface{}, error) {
client, err := c.getGrpcClient()