[#131] client: pass PrmDialOptions to dial call
Signed-off-by: olefirenque <egor.olefirenko892@gmail.com>
This commit is contained in:
parent
7b03c3a6a1
commit
aa536d4a4d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue