Skip to content

Commit

Permalink
fix(mergify): fix conflicts in cherry-pick
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarulg committed Aug 8, 2024
1 parent 0487383 commit e1114b0
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,13 +398,6 @@ public List<MetricSet> queryMetrics(
? Instant.parse(points.get(points.size() - 1).getInterval().getEndTime())
: stackdriverCanaryScope.getEnd();

// TODO(duftler): What if there are no data points?
<<<<<<< HEAD
List<Double> pointValues =
points.stream()
.map(point -> point.getValue().getDoubleValue())
.collect(Collectors.toList());
=======
List<Double> pointValues;

if (points.isEmpty()) {
Expand Down Expand Up @@ -436,7 +429,6 @@ public List<MetricSet> 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()
Expand Down

0 comments on commit e1114b0

Please sign in to comment.