cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject [2/7] git commit: updated refs/heads/vmwaresdk-to-vijava to 02ae858
Date Sun, 22 Sep 2013 12:10:53 GMT
Convert VmwareManagerImpl.javafrom Vmware SDK to vijava


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

Branch: refs/heads/vmwaresdk-to-vijava
Commit: fd512262733e81216a070a617c393d387ea2de5d
Parents: cc12a58
Author: Hugo Trippaers <htrippaers@schubergphilis.com>
Authored: Sun Sep 22 19:17:33 2013 +0800
Committer: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed: Sun Sep 22 19:17:33 2013 +0800

----------------------------------------------------------------------
 .../src/com/cloud/hypervisor/vmware/manager/VmwareManagerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fd512262/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareManagerImpl.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareManagerImpl.java
b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareManagerImpl.java
index 5a0e2f5..0c06f60 100755
--- a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareManagerImpl.java
+++ b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareManagerImpl.java
@@ -455,7 +455,7 @@ public class VmwareManagerImpl extends ManagerBase implements VmwareManager,
Vmw
             hostSpec.setHostName(host);
             hostSpec.setForce(true);		// forcely take over the host
 
-            ManagedObjectReference morTask = serviceContext.getService().addHostTask(morCluster,
hostSpec, true, null, null);
+            ManagedObjectReference morTask = serviceContext.getService().addHost_Task(morCluster,
hostSpec, true, null, null);
             boolean taskResult = vclient.waitForTask(morTask);
             if(!taskResult) {
                 s_logger.error("Unable to add host " + host + " to vSphere cluster due to
" + TaskMO.getTaskFailureInfo(serviceContext, morTask));


Mime
View raw message