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
|
@ -57,7 +57,7 @@ func (np *Processor) processAddPeer(ev netmapEvent.AddPeer) {
|
|||
// marshal updated node info structure
|
||||
nodeInfoBinary := nodeInfo.Marshal()
|
||||
|
||||
keyString := hex.EncodeToString(nodeInfo.PublicKey())
|
||||
keyString := netmap.StringifyPublicKey(nodeInfo)
|
||||
|
||||
updated := np.netmapSnapshot.touch(keyString, np.epochState.EpochCounter(), nodeInfoBinary)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue