GabrielBrascher commented on a change in pull request #4575:
URL: https://github.com/apache/cloudstack/pull/4575#discussion_r661920247



##########
File path: 
server/src/main/java/com/cloud/resource/RollingMaintenanceManagerImpl.java
##########
@@ -571,7 +571,7 @@ private void performPreFlightChecks(List<Host> hosts, int 
timeout, String payloa
         for (Host host : hosts) {
             Ternary<Boolean, String, Boolean> result = 
performStageOnHost(host, Stage.PreFlight, timeout, payload, forced);
             if (result.third() && 
!hostsToAvoidMaintenance.containsKey(host.getId())) {
-                s_logger.debug("Host " + host.getId() + " added to the avoid 
maintenance set");
+                s_logger.debug(String.format("%s added to the avoid 
maintenance set", host));
                 hostsToAvoidMaintenance.put(host.getId(), "Pre-flight stage 
set to avoid maintenance");
             }

Review comment:
       Done!




-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

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


Reply via email to