forked from TrueCloudLab/frostfs-node
[#362] ir/netmap: Do not add LocationCode attribute to netmap candidate
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
37915b53cf
commit
34248b00ed
1 changed files with 2 additions and 4 deletions
|
@ -33,7 +33,6 @@ const (
|
||||||
attrKeyCountryCode = "CountryCode"
|
attrKeyCountryCode = "CountryCode"
|
||||||
attrKeyCountry = "Country"
|
attrKeyCountry = "Country"
|
||||||
|
|
||||||
attrKeyLocationCode = "LocationCode"
|
|
||||||
attrKeyLocation = "Location"
|
attrKeyLocation = "Location"
|
||||||
|
|
||||||
attrKeySubDivCode = "SubDivCode"
|
attrKeySubDivCode = "SubDivCode"
|
||||||
|
@ -55,7 +54,6 @@ func New(prm Prm) *Validator {
|
||||||
attrKeyCountryCode: {converter: countryCodeValue},
|
attrKeyCountryCode: {converter: countryCodeValue},
|
||||||
attrKeyCountry: {converter: countryValue},
|
attrKeyCountry: {converter: countryValue},
|
||||||
|
|
||||||
attrKeyLocationCode: {converter: locationCodeValue},
|
|
||||||
attrKeyLocation: {converter: locationValue},
|
attrKeyLocation: {converter: locationValue},
|
||||||
|
|
||||||
attrKeySubDivCode: {converter: subDivCodeValue, optional: true},
|
attrKeySubDivCode: {converter: subDivCodeValue, optional: true},
|
||||||
|
|
Loading…
Reference in a new issue