Fix enums following upstream micrometer change

See gh-11575
This commit is contained in:
Phillip Webb
2018-01-29 19:51:51 -08:00
parent 134628a62d
commit 5632d043ff
3 changed files with 3 additions and 3 deletions

View File

@@ -131,7 +131,7 @@ public class MetricsEndpointTests {
private Optional<Double> getCount(MetricsEndpoint.MetricResponse response) {
return response.getMeasurements().stream()
.filter((ms) -> ms.getStatistic().equals(Statistic.Count)).findAny()
.filter((ms) -> ms.getStatistic().equals(Statistic.COUNT)).findAny()
.map(MetricsEndpoint.Sample::getValue);
}