mirror of
https://github.com/apache/cloudstack
synced 2026-08-26 08:00:11 +00:00
CLOUDSTACK-3351: Fix add cluster API to set right hypervisor type
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
This commit is contained in:
parent
478eae8287
commit
b4fe025223
@ -455,7 +455,7 @@ public class ResourceManagerImpl extends ManagerBase implements ResourceManager,
|
||||
List<ClusterVO> result = new ArrayList<ClusterVO>();
|
||||
|
||||
ClusterVO cluster = new ClusterVO(dcId, podId, clusterName);
|
||||
cluster.setHypervisorType(cmd.getHypervisor());
|
||||
cluster.setHypervisorType(hypervisorType.toString());
|
||||
|
||||
cluster.setClusterType(clusterType);
|
||||
cluster.setAllocationState(allocationState);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user