mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
[skip ci] Add comment for ClientBase.Call (#13269)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
This commit is contained in:
parent
188cec63f9
commit
1cba259395
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user