[skip ci] Add comments for client (#11183)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/11194/head
dragondriver 2021-11-03 19:48:48 +08:00 committed by GitHub
parent b5cefa4815
commit e581a6364c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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