From 0b67c6733db9fc6c859093fca7ca20d44e9f8062 Mon Sep 17 00:00:00 2001 From: Shlomo Daari <104773977+shlomodaari@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:12:28 -0700 Subject: [PATCH] fix conflict 1.32.x --- .../stackdriver/metrics/StackdriverMetricsService.java | 7 ------- 1 file changed, 7 deletions(-) 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 8bf3ed93a..a8c2e672e 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 @@ -399,12 +399,6 @@ public List queryMetrics( : stackdriverCanaryScope.getEnd(); // TODO(duftler): What if there are no data points? -<<<<<<< HEAD - List pointValues = - points.stream() - .map(point -> point.getValue().getDoubleValue()) - .collect(Collectors.toList()); -======= List pointValues; if (points.isEmpty()) { @@ -436,7 +430,6 @@ public List queryMetrics( pointValues = Collections.emptyList(); // Handle null valueType case as well } } ->>>>>>> 6684f9dd (fix(stackdriver): handle null timeSeries and empty points (#1047)) MetricSet.MetricSetBuilder metricSetBuilder = MetricSet.builder()