Commit d68e1fd3 by Torkel Ödegaard

Merge pull request #3444 from mtanda/cloudwatch_fix_period

(cloudwatch) fix period overwrite
parents 4c5cfd51 217d5df2
......@@ -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