Commit 7388b4b7 authored by Stephane Nicoll's avatar Stephane Nicoll

Fix build failure

parent cc8a1fc3
...@@ -94,7 +94,7 @@ public class CompositeReactiveHealthIndicator implements ReactiveHealthIndicator ...@@ -94,7 +94,7 @@ public class CompositeReactiveHealthIndicator implements ReactiveHealthIndicator
public Mono<Health> health() { public Mono<Health> health() {
return Flux.fromIterable(this.indicators.entrySet()) return Flux.fromIterable(this.indicators.entrySet())
.flatMap((entry) -> Mono.just(entry.getKey()) .flatMap((entry) -> Mono.just(entry.getKey())
.and(entry.getValue().health().compose(this.timeoutCompose))) .zipWith(entry.getValue().health().compose(this.timeoutCompose)))
.collectMap(Tuple2::getT1, Tuple2::getT2) .collectMap(Tuple2::getT1, Tuple2::getT2)
.map(this.healthAggregator::aggregate); .map(this.healthAggregator::aggregate);
} }
......
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