[skip ci]Fix golint for GetPartitionStates in QueryCoord (#11568)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2021-11-10 19:59:53 +08:00 committed by GitHub
parent f7d7b543cb
commit ecae998edb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -386,6 +386,7 @@ func (c *Client) CreateQueryChannel(ctx context.Context, req *querypb.CreateQuer
return ret.(*querypb.CreateQueryChannelResponse), err
}
// GetPartitionStates gets the states of the specified partition.
func (c *Client) GetPartitionStates(ctx context.Context, req *querypb.GetPartitionStatesRequest) (*querypb.GetPartitionStatesResponse, error) {
ret, err := c.recall(func() (interface{}, error) {
client, err := c.getGrpcClient()