Github user alexandrelimassantana commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1496#discussion_r60004052
  
    --- Diff: server/src/com/cloud/ha/HighAvailabilityManagerImpl.java ---
    @@ -264,6 +265,11 @@ public void scheduleRestartForVmsOnHost(final HostVO 
host, boolean investigate)
                     "Host [" + hostDesc + "] is down." + ((sb != null) ? 
sb.toString() : ""));
     
             for (VMInstanceVO vm : reorderedVMList) {
    +            ServiceOfferingVO vmOffering = 
_serviceOfferingDao.findById(vm.getServiceOfferingId());
    --- End diff --
    
    I would recommend putting this changed inside the if scope in line 273. The 
additions are related to debug and if the debug is disabled, you can skip it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to