mirror of https://github.com/milvus-io/milvus.git
[skip ci]Fix golint for GetSegmentInfo in QueryCoord (#11569)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>pull/11590/head
parent
ecae998edb
commit
4b9db5417d
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue