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,8 +33,7 @@ const (
|
||||||
attrKeyCountryCode = "CountryCode"
|
attrKeyCountryCode = "CountryCode"
|
||||||
attrKeyCountry = "Country"
|
attrKeyCountry = "Country"
|
||||||
|
|
||||||
attrKeyLocationCode = "LocationCode"
|
attrKeyLocation = "Location"
|
||||||
attrKeyLocation = "Location"
|
|
||||||
|
|
||||||
attrKeySubDivCode = "SubDivCode"
|
attrKeySubDivCode = "SubDivCode"
|
||||||
attrKeySubDiv = "SubDiv"
|
attrKeySubDiv = "SubDiv"
|
||||||
|
@ -55,8 +54,7 @@ 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},
|
||||||
attrKeySubDiv: {converter: subDivValue, optional: true},
|
attrKeySubDiv: {converter: subDivValue, optional: true},
|
||||||
|
|
Loading…
Reference in a new issue