From aa536d4a4de0477034d8a7c76e96f975fa4eeaba Mon Sep 17 00:00:00 2001 From: olefirenque Date: Thu, 7 Dec 2023 12:14:13 +0300 Subject: [PATCH] [#131] client: pass PrmDialOptions to dial call Signed-off-by: olefirenque --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 05d2bafc..b849e22b 100644 --- a/client/client.go +++ b/client/client.go @@ -118,7 +118,7 @@ func (c *Client) netMapDialNode(ctx context.Context, node *netmap.NodeInfo, prm addresses := node.ExternalAddresses() dialAddr := func(addr string) error { - err := c.Dial(ctx, PrmDial{Endpoint: addr}) + err := c.Dial(ctx, PrmDial{Endpoint: addr, PrmDialOptions: prm.PrmDialOptions}) if err != nil { if !prm.FallbackToAvailableAddress { return err