[#356] netmap: Fix typo in NodeInfo.readFromV2()

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2025-04-05 10:15:12 +03:00 committed by Evgenii Stratonikov
parent fb999fecac
commit 1b12c9beae

View file

@ -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 {