[#232] netmap: Allow empty values for unknown parameters in network config
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
560cbbd1f1
commit
51cefd4908
1 changed files with 0 additions and 5 deletions
|
@ -49,11 +49,6 @@ func (x *NetworkInfo) readFromV2(m netmap.NetworkInfo, checkFieldPresence bool)
|
||||||
mNames[name] = struct{}{}
|
mNames[name] = struct{}{}
|
||||||
|
|
||||||
switch name {
|
switch name {
|
||||||
default:
|
|
||||||
if len(prm.GetValue()) == 0 {
|
|
||||||
err = fmt.Errorf("empty attribute value %s", name)
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
case
|
case
|
||||||
configAuditFee,
|
configAuditFee,
|
||||||
configStoragePrice,
|
configStoragePrice,
|
||||||
|
|
Loading…
Reference in a new issue