forked from TrueCloudLab/frostfs-node
[#770] pkg/morph/event: Fix typo in AddPeer
parser
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
f0cbf2e99d
commit
c87bc70536
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ func ParseAddPeer(prms []stackitem.Item) (event.Event, error) {
|
||||||
|
|
||||||
ev.node, err = client.BytesFromStackItem(prms[0])
|
ev.node, err = client.BytesFromStackItem(prms[0])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("could not get integer epoch number: %w", err)
|
return nil, fmt.Errorf("could not get raw nodeinfo: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return ev, nil
|
return ev, nil
|
||||||
|
|
Loading…
Reference in a new issue