mirror of https://github.com/milvus-io/milvus.git
[skip ci]Fix golint error for GetComponentStates in QueryCoord (#11242)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>pull/11271/head
parent
202ce08e12
commit
bb12c3d39e
|
@ -225,6 +225,7 @@ func (c *Client) Register() error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetComponentStates gets the component states of QueryCoord.
|
||||||
func (c *Client) GetComponentStates(ctx context.Context) (*internalpb.ComponentStates, error) {
|
func (c *Client) GetComponentStates(ctx context.Context) (*internalpb.ComponentStates, 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