sureshanaparti commented on a change in pull request #4886:
URL: https://github.com/apache/cloudstack/pull/4886#discussion_r619186064



##########
File path: server/src/main/java/com/cloud/api/query/QueryManagerImpl.java
##########
@@ -1341,6 +1342,27 @@
             sb.and("networkId", sb.entity().getNetworkId(), 
SearchCriteria.Op.EQ);
         }
 
+        List<Long> routersWithFailures = null;
+        if (VirtualNetworkApplianceManager.RouterHealthChecksEnabled.value() 
&& isHealthCheckFailed != null) {

Review comment:
       @ustcweizhou what if "_router.health.checks.enabled_" config is disabled 
and there are last health check reports ? Will the routers listed with 
healthchecksfailed=trur returns empty list or notifies health checks not 
enabled?




-- 
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:
[email protected]


Reply via email to