cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rafaelweingartner <...@git.apache.org>
Subject [GitHub] cloudstack pull request: CID-1338387: handle unknown storage endpo...
Date Wed, 11 Nov 2015 16:38:56 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message