You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/09/28 06:58:11 UTC

[GitHub] [camel] djoleB commented on a change in pull request #4307: CAMEL-15585 - Camel Core health small refactor.

djoleB commented on a change in pull request #4307:
URL: https://github.com/apache/camel/pull/4307#discussion_r495725485



##########
File path: core/camel-health/src/main/java/org/apache/camel/impl/health/RouteHealthCheck.java
##########
@@ -54,7 +54,8 @@ protected void doCall(HealthCheckResultBuilder builder, Map<String, Object> opti
             if (route.getRouteController() != null || route.isAutoStartup()) {
                 if (status.isStarted()) {
                     builder.up();
-                } else if (status.isStopped()) {
+                }
+                if (status.isStopped()) {

Review comment:
       Okay, will revert that to previous state. Thanks @lburgazzoli :)




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org