[#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:
Leonard Lyubich 2021-02-10 13:13:42 +03:00 committed by Leonard Lyubich
parent c384fbbf4e
commit 0a87fec6c6
2 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ type Validator struct {
// TODO: define constants in API lib.
const (
attrKeyLocode = "Locode"
attrKeyLocode = "UN-LOCODE"
attrKeyCountryCode = "CountryCode"
attrKeyCountry = "Country"