mirror of
https://github.com/apache/cloudstack
synced 2026-08-09 08:03:16 +00:00
XcpServerDiscoverer is only for XenServer
This commit is contained in:
parent
0553c543a1
commit
c5bc16ef42
@ -134,9 +134,9 @@ public class XcpServerDiscoverer extends DiscovererBase implements Discoverer, L
|
||||
}
|
||||
|
||||
ClusterVO cluster = _clusterDao.findById(clusterId);
|
||||
if(cluster == null || (cluster.getHypervisorType() != HypervisorType.XenServer && cluster.getHypervisorType() != HypervisorType.Xen)) {
|
||||
if(cluster == null || cluster.getHypervisorType() != HypervisorType.XenServer) {
|
||||
if(s_logger.isInfoEnabled())
|
||||
s_logger.info("invalid cluster id or cluster is not for Xen/XenServer hypervisors");
|
||||
s_logger.info("invalid cluster id or cluster is not for XenServer hypervisors");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user