forked from TrueCloudLab/frostfs-node
[#613] pkg/innerring/reputation: Add FIXME
to ToV2
usage
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
ed9a5e44b6
commit
68c7f6ce8a
2 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,7 @@ func (rp *Processor) handlePutReputation(ev event.Event) {
|
|||
put := ev.(reputationEvent.Put)
|
||||
peerID := put.PeerID()
|
||||
|
||||
// FIXME: do not use `ToV2` method outside neofs-api-go library
|
||||
rp.log.Info("notification",
|
||||
zap.String("type", "reputation put"),
|
||||
zap.String("peer_id", hex.EncodeToString(peerID.ToV2().GetPublicKey())))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue