mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments for client (#11183)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>pull/11194/head
parent
b5cefa4815
commit
e581a6364c
|
@ -201,6 +201,7 @@ func (c *Client) Register() error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetComponentStates get the component state.
|
||||||
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