Select AWS region from dropdown

This commit is contained in:
utkarshcmu
2015-11-09 12:08:40 -08:00
parent 4de9ac133a
commit 7612e47aee
3 changed files with 9 additions and 20 deletions

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/features/org/datasourceEditCtrl.js
func handleGetRegions(req *cwRequest, c *middleware.Context) {
regions := []string{
"us-west-2", "us-west-1", "eu-west-1", "eu-central-1", "ap-southeast-1",