From 1b12c9beaed47d48601828f9efbdbbadeaefaec0 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Sat, 5 Apr 2025 10:15:12 +0300 Subject: [PATCH] [#356] netmap: Fix typo in NodeInfo.readFromV2() Signed-off-by: Evgenii Stratonikov --- netmap/node_info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netmap/node_info.go b/netmap/node_info.go index acbfaee..ce3bdb9 100644 --- a/netmap/node_info.go +++ b/netmap/node_info.go @@ -50,7 +50,7 @@ func (x *NodeInfo) readFromV2(m netmap.NodeInfo, checkFieldPresence bool) error if key == "" { return fmt.Errorf("empty key of the attribute #%d", i) } else if _, ok := mAttr[key]; ok { - return fmt.Errorf("duplicated attbiuted %s", key) + return fmt.Errorf("duplicate attributes %s", key) } switch {