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>
This commit is contained in:
parent
7b3897253c
commit
8ddea8a5ee
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue