Commit 144c703c by Torkel Ödegaard

Merge pull request #3703 from mtanda/cloudwatch_seoul

(cloudwatch) add seoul region
parents ae6cae07 7d8519f5
...@@ -91,7 +91,7 @@ func init() { ...@@ -91,7 +91,7 @@ func init() {
// Please update the region list in public/app/plugins/datasource/cloudwatch/partials/config.html // Please update the region list in public/app/plugins/datasource/cloudwatch/partials/config.html
func handleGetRegions(req *cwRequest, c *middleware.Context) { func handleGetRegions(req *cwRequest, c *middleware.Context) {
regions := []string{ regions := []string{
"ap-northeast-1", "ap-southeast-1", "ap-southeast-2", "cn-north-1", "ap-northeast-1", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "cn-north-1",
"eu-central-1", "eu-west-1", "sa-east-1", "us-east-1", "us-west-1", "us-west-2", "eu-central-1", "eu-west-1", "sa-east-1", "us-east-1", "us-west-1", "us-west-2",
} }
......
...@@ -24,8 +24,7 @@ ...@@ -24,8 +24,7 @@
Please update the region list in pkg/api/cloudwatch/metric.go Please update the region list in pkg/api/cloudwatch/metric.go
--> -->
<li> <li>
<select class="tight-form-input input-large last" ng-model="current.jsonData.defaultRegion" ng-options="region for region in ['us-east-1', 'us-west-2', 'us-west-1', 'eu-west-1', <select class="tight-form-input input-large last" ng-model="current.jsonData.defaultRegion" ng-options="region for region in ['ap-northeast-1', 'ap-northeast-2', 'ap-southeast-1', 'ap-southeast-2', 'cn-north-1', 'eu-central-1', 'eu-west-1', 'sa-east-1', 'us-east-1', 'us-west-1', 'us-west-2']"></select>
'eu-central-1', 'ap-southeast-1' ,'ap-southeast-2' ,'ap-northeast-1' ,'sa-east-1' ,'cn-north-1']"></select>
</li> </li>
</ul> </ul>
<div class="clearfix"></div> <div class="clearfix"></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment