[skip ci]Add notes to client (#13178)

Signed-off-by: jingkl <jingjing.jia@zilliz.com>
This commit is contained in:
jingkl 2021-12-10 21:12:23 +08:00 committed by GitHub
parent 602b3747ee
commit 4d27c8ef14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,6 +97,7 @@ func (c *Client) GetComponentStates(ctx context.Context) (*internalpb.ComponentS
return ret.(*internalpb.ComponentStates), err
}
//GetStatisticsChannel return the statistics channel in string
func (c *Client) GetStatisticsChannel(ctx context.Context) (*milvuspb.StringResponse, error) {
ret, err := c.grpcClient.ReCall(ctx, func(client interface{}) (interface{}, error) {
if !funcutil.CheckCtxValid(ctx) {