Commit a417d6fa by Mitsuhiro Tanda

don't merge hard coded region list

parent 61e27109
...@@ -75,7 +75,7 @@ export class CloudWatchConfigCtrl { ...@@ -75,7 +75,7 @@ export class CloudWatchConfigCtrl {
return ds.getRegions(); return ds.getRegions();
}) })
.then(regions => { .then(regions => {
this.regions = _.uniq(this.regions.concat(_.map(regions, 'value'))); this.regions = _.map(regions, 'value');
}, err => { }, err => {
console.error('failed to call ec2:DescribeRegions, please check iam setting'); console.error('failed to call ec2:DescribeRegions, please check iam setting');
}); });
......
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