[#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"
|
||||
attrKeyCountry = "Country"
|
||||
|
||||
attrKeyLocationCode = "LocationCode"
|
||||
attrKeyLocation = "Location"
|
||||
attrKeyLocation = "Location"
|
||||
|
||||
attrKeySubDivCode = "SubDivCode"
|
||||
attrKeySubDiv = "SubDiv"
|
||||
|
@ -55,8 +54,7 @@ func New(prm Prm) *Validator {
|
|||
attrKeyCountryCode: {converter: countryCodeValue},
|
||||
attrKeyCountry: {converter: countryValue},
|
||||
|
||||
attrKeyLocationCode: {converter: locationCodeValue},
|
||||
attrKeyLocation: {converter: locationValue},
|
||||
attrKeyLocation: {converter: locationValue},
|
||||
|
||||
attrKeySubDivCode: {converter: subDivCodeValue, optional: true},
|
||||
attrKeySubDiv: {converter: subDivValue, optional: true},
|
||||
|
|
Loading…
Reference in a new issue