Commit 217d5df2 by Mitsuhiro Tanda

(cloudwatch) fix period overwrite

parent 4c5cfd51
......@@ -25,7 +25,7 @@ function (angular, _) {
var end = convertToCloudWatchTime(options.range.to);
var queries = [];
options = _.clone(options);
options = angular.copy(options);
_.each(options.targets, _.bind(function(target) {
if (target.hide || !target.namespace || !target.metricName || _.isEmpty(target.statistics)) {
return;
......
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