Skip to content

Commit

Permalink
fix: aliyun wulanchabu region
Browse files Browse the repository at this point in the history
  • Loading branch information
Qu Xuan committed Sep 7, 2020
1 parent 74b3bf2 commit 0a79d1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/apis/compute/cloudregions_const.go
Expand Up @@ -57,6 +57,7 @@ const (
CITY_FO_SHAN = "Foshan" //佛山
CITY_QUAN_ZHOU = "Quanzhou" //泉州
CITY_NEI_MENG_GU = "Neimenggu" //内蒙古
CITY_WU_LAN_CHA_BU = "Wulanchabu" //乌兰察布

// 日本
CITY_TOKYO = "Tokyo" //东京
Expand Down
1 change: 1 addition & 0 deletions pkg/multicloud/aliyun/latitud_and_longitude.go
Expand Up @@ -41,4 +41,5 @@ var LatitudeAndLongitude = map[string]cloudprovider.SGeographicInfo{
"eu-west-1": {Latitude: 51.507351, Longitude: -0.127758, City: api.CITY_LONDON, CountryCode: api.COUNTRY_CODE_GB},
"me-east-1": {Latitude: 25.204849, Longitude: 55.270782, City: api.CITY_DUBAI, CountryCode: api.COUNTRY_CODE_AE},
"eu-central-1": {Latitude: 50.110924, Longitude: 8.682127, City: api.CITY_FRANKFURT, CountryCode: api.COUNTRY_CODE_DE},
"cn-wulanchabu": {Latitude: 41.0178065, Longitude: 113.094978, City: api.CITY_WU_LAN_CHA_BU, CountryCode: api.COUNTRY_CODE_CN},
}

0 comments on commit 0a79d1d

Please sign in to comment.