cloudwatch dimension null check

This commit is contained in:
Mitsuhiro Tanda 2015-12-04 20:16:31 +09:00
parent 36ab8ae19c
commit 573632012e

View File

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