From c4d603b4be4dfc8138059d237d5e9ae5d96afb44 Mon Sep 17 00:00:00 2001 From: Aleksey Savchuk Date: Wed, 16 Oct 2024 18:13:57 +0300 Subject: [PATCH] [#xx] client: Pass `grpc.CallOption` options on dial Signed-off-by: Aleksey Savchuk --- client/client.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/client.go b/client/client.go index 0894f0e..10eb018 100644 --- a/client/client.go +++ b/client/client.go @@ -96,6 +96,7 @@ func (c *Client) Dial(ctx context.Context, prm PrmDial) error { client.WithDialTimeout(prm.DialTimeout), client.WithRWTimeout(prm.StreamTimeout), client.WithGRPCDialOptions(prm.GRPCDialOptions), + client.WithGRPCCallOptions(prm.GRPCCallOptions), )...) c.setFrostFSAPIServer((*coreServer)(&c.c)) @@ -213,6 +214,7 @@ type PrmDial struct { StreamTimeout time.Duration GRPCDialOptions []grpc.DialOption + GRPCCallOptions []grpc.CallOption } // SetServerURI sets server URI in the FrostFS network.