mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add notes to client (#13178)
Signed-off-by: jingkl <jingjing.jia@zilliz.com>pull/13198/head
parent
602b3747ee
commit
4d27c8ef14
|
@ -97,6 +97,7 @@ func (c *Client) GetComponentStates(ctx context.Context) (*internalpb.ComponentS
|
||||||
return ret.(*internalpb.ComponentStates), err
|
return ret.(*internalpb.ComponentStates), err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//GetStatisticsChannel return the statistics channel in string
|
||||||
func (c *Client) GetStatisticsChannel(ctx context.Context) (*milvuspb.StringResponse, error) {
|
func (c *Client) GetStatisticsChannel(ctx context.Context) (*milvuspb.StringResponse, error) {
|
||||||
ret, err := c.grpcClient.ReCall(ctx, func(client interface{}) (interface{}, error) {
|
ret, err := c.grpcClient.ReCall(ctx, func(client interface{}) (interface{}, error) {
|
||||||
if !funcutil.CheckCtxValid(ctx) {
|
if !funcutil.CheckCtxValid(ctx) {
|
||||||
|
|
Loading…
Reference in New Issue