Commit 4cc9f4f0 by Carl Bergquist Committed by GitHub

Merge pull request #9558 from mtanda/cw_fix_expand_46

(cloudwatch) fix template variable expanding
parents 23306222 0f87279a
......@@ -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();
......
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