don't merge hard coded region list
This commit is contained in:
@@ -75,7 +75,7 @@ export class CloudWatchConfigCtrl {
|
||||
return ds.getRegions();
|
||||
})
|
||||
.then(regions => {
|
||||
this.regions = _.uniq(this.regions.concat(_.map(regions, 'value')));
|
||||
this.regions = _.map(regions, 'value');
|
||||
}, err => {
|
||||
console.error('failed to call ec2:DescribeRegions, please check iam setting');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user