mirror of https://github.com/milvus-io/milvus.git
Remove debug log from DataCoord client (#13313)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/13424/head
parent
0c39e0370c
commit
61f2db3102
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue