From ff9532d0cf42158a2a9b9e4f36bdf46b4905d38b Mon Sep 17 00:00:00 2001 From: shaoyue Date: Thu, 30 Dec 2021 10:47:46 +0800 Subject: [PATCH] [skip e2e] Add comment for grpc ClientBase (#14573) Signed-off-by: shaoyue.chen --- internal/util/grpcclient/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/util/grpcclient/client.go b/internal/util/grpcclient/client.go index d37194e9be..9708808616 100644 --- a/internal/util/grpcclient/client.go +++ b/internal/util/grpcclient/client.go @@ -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()