[skip ci]Fix golint for GetSegmentInfo in QueryCoord (#11569)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
pull/11590/head
cai.zhang 2021-11-10 20:01:54 +08:00 committed by GitHub
parent ecae998edb
commit 4b9db5417d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -402,6 +402,7 @@ func (c *Client) GetPartitionStates(ctx context.Context, req *querypb.GetPartiti
return ret.(*querypb.GetPartitionStatesResponse), err return ret.(*querypb.GetPartitionStatesResponse), err
} }
// GetSegmentInfo gets the information of the specified segment from QueryCoord.
func (c *Client) GetSegmentInfo(ctx context.Context, req *querypb.GetSegmentInfoRequest) (*querypb.GetSegmentInfoResponse, error) { func (c *Client) GetSegmentInfo(ctx context.Context, req *querypb.GetSegmentInfoRequest) (*querypb.GetSegmentInfoResponse, error) {
ret, err := c.recall(func() (interface{}, error) { ret, err := c.recall(func() (interface{}, error) {
client, err := c.getGrpcClient() client, err := c.getGrpcClient()