diff --git a/kayenta-stackdriver/src/main/java/com/netflix/kayenta/stackdriver/metrics/StackdriverMetricsService.java b/kayenta-stackdriver/src/main/java/com/netflix/kayenta/stackdriver/metrics/StackdriverMetricsService.java index a8c2e672e..c6ec01ce0 100644 --- a/kayenta-stackdriver/src/main/java/com/netflix/kayenta/stackdriver/metrics/StackdriverMetricsService.java +++ b/kayenta-stackdriver/src/main/java/com/netflix/kayenta/stackdriver/metrics/StackdriverMetricsService.java @@ -398,7 +398,7 @@ public List queryMetrics( ? Instant.parse(points.get(points.size() - 1).getInterval().getEndTime()) : stackdriverCanaryScope.getEnd(); - // TODO(duftler): What if there are no data points? + List pointValues; if (points.isEmpty()) {