CLOUDSTACK-3351: Fix add cluster API to set right hypervisor type

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
This commit is contained in:
Harikrishna Patnala 2013-07-04 11:18:35 +05:30 committed by Abhinandan Prateek
parent 478eae8287
commit b4fe025223
1 changed files with 1 additions and 1 deletions

View File

@ -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);