浏览代码

don't merge hard coded region list

Mitsuhiro Tanda 7 年之前
父节点
当前提交
a417d6fa21
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/app/plugins/datasource/cloudwatch/config_ctrl.ts

+ 1 - 1
public/app/plugins/datasource/cloudwatch/config_ctrl.ts

@@ -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');
       });