Skip to content

Commit f8a857a

Browse files
committed
fix: incorrect test
Signed-off-by: Chris Laprun <metacosm@gmail.com>
1 parent 1cc60dd commit f8a857a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/health/ControllerHealthInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class ControllerHealthInfo {
3232
private static final Predicate<EventSource> INFORMER =
3333
e -> e instanceof InformerWrappingEventSourceHealthIndicator;
3434
private static final Predicate<EventSource> UNHEALTHY_INFORMER =
35-
e -> INFORMER.test(e) && e.getStatus() == Status.HEALTHY;
35+
e -> INFORMER.test(e) && e.getStatus() == Status.UNHEALTHY;
3636
private static final Collector<EventSource, ?, Map<String, EventSourceHealthIndicator>>
3737
NAME_TO_ES_MAP = Collectors.toMap(EventSource::name, e -> e);
3838
private static final Collector<

0 commit comments

Comments
 (0)