Procházet zdrojové kódy

Added missing AWS Regions

utkarshcmu před 10 roky
rodič
revize
f55e24cd12
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      pkg/api/cloudwatch/metrics.go

+ 2 - 2
pkg/api/cloudwatch/metrics.go

@@ -67,8 +67,8 @@ func init() {
 
 
 func handleGetRegions(req *cwRequest, c *middleware.Context) {
 func handleGetRegions(req *cwRequest, c *middleware.Context) {
 	regions := []string{
 	regions := []string{
-		"us-west-2", "us-west-1", "eu-west-1", "eu-central-1", "ap-southeast-1",
-		"ap-southeast-2", "ap-northeast-1", "sa-east-1",
+		"us-east-1", "us-west-2", "us-west-1", "eu-west-1", "eu-central-1", "ap-southeast-1",
+		"ap-southeast-2", "ap-northeast-1", "sa-east-1", "cn-north-1",
 	}
 	}
 
 
 	result := []interface{}{}
 	result := []interface{}{}