[#1680] morph/netmap: Pre-refactor processing of node states

New network status of storage nodes is going to be introduced. To
simplify the addition, it would be useful to prepare the code for this.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2022-09-19 17:38:07 +04:00 committed by fyrchik
parent 4c94faac67
commit 42fb40e841
4 changed files with 30 additions and 10 deletions

View file

@ -51,7 +51,7 @@ func TestParseUpdatePeer(t *testing.T) {
require.Equal(t, UpdatePeer{
publicKey: publicKey,
online: true,
state: stateOnline,
}, ev)
})
}