[#316] ir/netmap: Rename LOCODE attribute key
Rename key to LOCODE node attribute from `Locode` to `UN-LOCODE`. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
c384fbbf4e
commit
0a87fec6c6
2 changed files with 4 additions and 4 deletions
|
@ -28,7 +28,7 @@ type Validator struct {
|
|||
|
||||
// TODO: define constants in API lib.
|
||||
const (
|
||||
attrKeyLocode = "Locode"
|
||||
attrKeyLocode = "UN-LOCODE"
|
||||
|
||||
attrKeyCountryCode = "CountryCode"
|
||||
attrKeyCountry = "Country"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue