mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment for grpc ClientBase (#14573)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>pull/14581/head
parent
fddd8e94dd
commit
ff9532d0cf
|
@ -208,6 +208,7 @@ func (c *ClientBase) Call(ctx context.Context, caller func(client interface{}) (
|
|||
return ret, err
|
||||
}
|
||||
|
||||
// ReCall does the grpc call twice
|
||||
func (c *ClientBase) ReCall(ctx context.Context, caller func(client interface{}) (interface{}, error)) (interface{}, error) {
|
||||
if !funcutil.CheckCtxValid(ctx) {
|
||||
return nil, ctx.Err()
|
||||
|
|
Loading…
Reference in New Issue