From 8ddea8a5eec3195bcc6c32c2ed39452768036441 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Fri, 18 Jun 2021 13:45:29 +0300 Subject: [PATCH] [#622] pkg/innerring: Change `NodeValidator` interface description Make changes of the `NodeInfo` by implementations of the `NodeValidator` interface optional. Signed-off-by: Pavel Karpy --- pkg/innerring/processors/netmap/processor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/innerring/processors/netmap/processor.go b/pkg/innerring/processors/netmap/processor.go index 922433f1..607415bf 100644 --- a/pkg/innerring/processors/netmap/processor.go +++ b/pkg/innerring/processors/netmap/processor.go @@ -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