[skip ci] Add comment for ClientBase.Call (#13269)

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
This commit is contained in:
shaoyue 2021-12-13 19:24:40 +08:00 committed by GitHub
parent 188cec63f9
commit 1cba259395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,6 +187,7 @@ func (c *ClientBase) callOnce(ctx context.Context, caller func(client interface{
return ret, err2
}
// Call does a grpc call
func (c *ClientBase) Call(ctx context.Context, caller func(client interface{}) (interface{}, error)) (interface{}, error) {
if !funcutil.CheckCtxValid(ctx) {
return nil, ctx.Err()