[#356] netmap: Fix typo in NodeInfo.readFromV2()
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
fb999fecac
commit
1b12c9beae
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue