Remove debug log from DataCoord client (#13313)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/13424/head
congqixia 2021-12-15 11:09:24 +08:00 committed by GitHub
parent 0c39e0370c
commit 61f2db3102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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 {