Merge pull request #3129 from utkarshcmu/validity

Default AWS Region selection from dropdown
This commit is contained in:
Torkel Ödegaard
2015-11-09 22:25:30 +01:00
2 changed files with 9 additions and 2 deletions
+2
View File
@@ -65,6 +65,8 @@ func init() {
}
}
// Whenever this list is updated, frontend list should also be updated.
// Please update the region list in public/app/plugins/datasource/cloudwatch/partials/config.html
func handleGetRegions(req *cwRequest, c *middleware.Context) {
regions := []string{
"us-east-1", "us-west-2", "us-west-1", "eu-west-1", "eu-central-1", "ap-southeast-1",