Github user rafaelweingartner commented on the pull request:

    https://github.com/apache/cloudstack/pull/1056#issuecomment-155838061
  
    Actually, 
    
    My bad, I think the best thing to do is to change the method 
“com.cloud.hypervisor.XenServerGuru.getCommandHostDelegation(long, 
Command)” to something like this:
    ```
    HostVO host = hostDao.findById(hostId);
    hostDao.loadDetails(host);
    boolean snapshotHotFix = 
Boolean.parseBoolean(host.getDetail(HostInfo.XS620_SNAPSHOT_HOTFIX));
            if(snapshotHotFix){
                return new Pair<Boolean, Long>(Boolean.TRUE, new Long(hostId));
            }
            return super.getCommandHostDelegation(hostId, cmd);;
    ```


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