[skip e2e] Add comment for grpc ClientBase (#14573)

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
pull/14581/head
shaoyue 2021-12-30 10:47:46 +08:00 committed by GitHub
parent fddd8e94dd
commit ff9532d0cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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()