未验证 提交 61f2db31 编写于 作者: C congqixia 提交者: GitHub

Remove debug log from DataCoord client (#13313)

Signed-off-by: NCongqi Xia <congqi.xia@zilliz.com>
上级 0c39e037
......@@ -101,13 +101,12 @@ func (c *Client) Register() error {
return nil
}
// GetComponentStates calls DataCoord GetComponentStates services
func (c *Client) GetComponentStates(ctx context.Context) (*internalpb.ComponentStates, error) {
log.Debug("ABC", zap.Any("ctx", ctx), zap.Any("func", c.grpcClient.ReCall))
ret, err := c.grpcClient.ReCall(ctx, func(client interface{}) (interface{}, error) {
if !funcutil.CheckCtxValid(ctx) {
return nil, ctx.Err()
}
log.Debug("ABC", zap.Any("client", client))
return client.(datapb.DataCoordClient).GetComponentStates(ctx, &internalpb.GetComponentStatesRequest{})
})
if err != nil || ret == nil {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册