forked from TrueCloudLab/frostfs-node
[#1765] Use hex format to print storage node ID
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
5a2daadd37
commit
8714fc42b5
13 changed files with 23 additions and 29 deletions
|
@ -2,7 +2,6 @@ package auditor
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"encoding/hex"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
|
@ -143,7 +142,7 @@ func (c *Context) collectHashes(p *gamePair) {
|
|||
if err != nil {
|
||||
c.log.Debug("could not get payload range hash",
|
||||
zap.Stringer("id", p.id),
|
||||
zap.String("node", hex.EncodeToString(n.PublicKey())),
|
||||
zap.String("node", netmap.StringifyPublicKey(n)),
|
||||
zap.String("error", err.Error()),
|
||||
)
|
||||
return res
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue