fix: add us-west4 for google region

This commit is contained in:
Qu Xuan
2020-06-01 18:25:35 +08:00
parent 9307660d11
commit 1997e41ea6
2 changed files with 3 additions and 0 deletions
@@ -44,6 +44,7 @@ var LatitudeAndLongitude = map[string]cloudprovider.SGeographicInfo{
"us-west1": {Latitude: 43.8041334, Longitude: -120.5542012, City: api.CITY_OREGON, CountryCode: api.COUNTRY_CODE_US},
"us-west2": {Latitude: 34.0522342, Longitude: -118.2436849, City: api.CITY_LOS_ANGELES, CountryCode: api.COUNTRY_CODE_US},
"us-west3": {Latitude: 40.7767168, Longitude: -111.9905243, City: api.CITY_SALT_LAKE_CITY, CountryCode: api.COUNTRY_CODE_US},
"us-west4": {Latitude: 36.1249185, Longitude: -115.3150811, City: api.CITY_LAS_VEGAS, CountryCode: api.COUNTRY_CODE_US},
}
var RegionNames = map[string]string{
@@ -71,6 +72,7 @@ var RegionNames = map[string]string{
"us-west1": "俄勒冈州",
"us-west2": "洛杉矶",
"us-west3": "盐湖城",
"us-west4": "拉斯维加斯",
// Multi-region
"us": "美国的多区域",