[skip ci]Fix golint error for GetComponentStates in QueryCoord (#11242)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
pull/11271/head
cai.zhang 2021-11-04 19:06:30 +08:00 committed by GitHub
parent 202ce08e12
commit bb12c3d39e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -225,6 +225,7 @@ func (c *Client) Register() error {
return nil
}
// GetComponentStates gets the component states of QueryCoord.
func (c *Client) GetComponentStates(ctx context.Context) (*internalpb.ComponentStates, error) {
ret, err := c.recall(func() (interface{}, error) {
client, err := c.getGrpcClient()