Merge pull request #3417 from mtanda/cloudwatch_dimension_filter_fix

(cloudwatch) null check of dimension
This commit is contained in:
Torkel Ödegaard 2015-12-04 12:30:13 +01:00
commit 7886318341

View File

@ -129,7 +129,7 @@ function (angular, _) {
.pluck('Dimensions')
.flatten()
.filter(function(dimension) {
return dimension.Name === dimensionKey;
return dimension !== null && dimension.Name === dimensionKey;
})
.pluck('Value')
.uniq()