don't merge hard coded region list

This commit is contained in:
Mitsuhiro Tanda
2018-10-16 12:03:33 +09:00
parent 61e2710961
commit a417d6fa21
@@ -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');
});