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