Browse Source

fix template variable expanding

Mitsuhiro Tanda 8 years ago
parent
commit
0f87279ab8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      public/app/plugins/datasource/cloudwatch/datasource.js

+ 1 - 0
public/app/plugins/datasource/cloudwatch/datasource.js

@@ -354,6 +354,7 @@ function (angular, _, moment, dateMath, kbn, templatingVariable) {
         var t = angular.copy(target);
         var scopedVar = {};
         scopedVar[variable.name] = v;
+        t.refId = target.refId + '_' + v.value;
         t.dimensions[dimensionKey] = templateSrv.replace(t.dimensions[dimensionKey], scopedVar);
         return t;
       }).value();