cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aprat...@apache.org
Subject git commit: updated refs/heads/master to 968c252
Date Thu, 04 Jul 2013 08:53:18 GMT
Updated Branches:
  refs/heads/master 1e646629f -> 968c252ca


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

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/968c252c
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/968c252c
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/968c252c

Branch: refs/heads/master
Commit: 968c252ca58fe55285004355dd1060fd1ae9aeb4
Parents: 1e64662
Author: Harikrishna Patnala <harikrishna.patnala@citrix.com>
Authored: Thu Jul 4 11:18:35 2013 +0530
Committer: Abhinandan Prateek <aprateek@apache.org>
Committed: Thu Jul 4 14:23:08 2013 +0530

----------------------------------------------------------------------
 server/src/com/cloud/resource/ResourceManagerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/968c252c/server/src/com/cloud/resource/ResourceManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/resource/ResourceManagerImpl.java b/server/src/com/cloud/resource/ResourceManagerImpl.java
index 054ac40..41c6ad7 100755
--- a/server/src/com/cloud/resource/ResourceManagerImpl.java
+++ b/server/src/com/cloud/resource/ResourceManagerImpl.java
@@ -472,7 +472,7 @@ public class ResourceManagerImpl extends ManagerBase implements ResourceManager,
 
         long clusterId = 0;
         ClusterVO cluster = new ClusterVO(dcId, podId, clusterName);
-        cluster.setHypervisorType(cmd.getHypervisor());
+        cluster.setHypervisorType(hypervisorType.toString());
 
         cluster.setClusterType(clusterType);
         cluster.setAllocationState(allocationState);


Mime
View raw message