forked from TrueCloudLab/frostfs-node
[#622] pkg/innerring: Change `NodeValidator` interface description
Make changes of the `NodeInfo` by implementations of the `NodeValidator` interface optional. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>support/v0.27
parent
7b3897253c
commit
8ddea8a5ee
|
@ -35,7 +35,7 @@ type (
|
|||
// of information about the node and its finalization for adding
|
||||
// to the network map.
|
||||
NodeValidator interface {
|
||||
// Must verify and update NodeInfo structure.
|
||||
// Must verify and optionally update NodeInfo structure.
|
||||
//
|
||||
// Must return an error if NodeInfo input is invalid.
|
||||
// Must return an error if it is not possible to correctly
|
||||
|
|
Loading…
Reference in New Issue