Revert "simple change to prevent failure and keep OVM3 snapshots working"

This reverts commit 66fed462b6.
This commit is contained in:
Wei Zhou 2015-12-04 18:18:28 +01:00
parent e0501be87e
commit 69e031d9be
1 changed files with 3 additions and 0 deletions

View File

@ -105,6 +105,9 @@ public class Ovm3HypervisorGuru extends HypervisorGuruBase implements Hypervisor
EndPoint ep = endPointSelector.selectHypervisorHost(new ZoneScope(host.getDataCenterId()));
host = hostDao.findById(ep.getId());
hostDao.loadDetails(host);
// String snapshotHotFixVersion = host.getDetail(XenserverConfigs.XS620HotFix);
// if (snapshotHotFixVersion != null && snapshotHotFixVersion.equalsIgnoreCase(XenserverConfigs.XSHotFix62ESP1004)) {
return new Pair<Boolean, Long>(Boolean.TRUE, Long.valueOf(ep.getId()));
}
}
}