Commit 57363201 by Mitsuhiro Tanda

cloudwatch dimension null check

parent 36ab8ae1
...@@ -129,7 +129,7 @@ function (angular, _) { ...@@ -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()
......
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