forked from TrueCloudLab/frostfs-node
[#607] network: Do not use Address.String for address comparison
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
dd67e2b690
commit
e5504c7130
6 changed files with 24 additions and 15 deletions
|
@ -87,7 +87,7 @@ func (c *ClientCache) getSG(ctx context.Context, addr *object.Address, nm *netma
|
|||
cli, err := c.Get(netAddr)
|
||||
if err != nil {
|
||||
c.log.Warn("can't setup remote connection",
|
||||
zap.String("address", netAddr.String()),
|
||||
zap.Stringer("address", netAddr),
|
||||
zap.String("error", err.Error()))
|
||||
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue