Change host allocate signature, fix for onevcenter

This commit is contained in:
Tino Vazquez committed 2016-05-11 15:24:27 +02:00
1 parent 37caa2df5a
commit e3ff9c8aca
1 file changed
+1 -1
@@ -1041,7 +1041,7 @@ class VCenterHost < ::OpenNebula::Host
one_host = ::OpenNebula::Host.new(::OpenNebula::Host.build_xml,
client.one)
rc = one_host.allocate(cluster_name, 'vcenter', 'vcenter', 'dummy',
rc = one_host.allocate(cluster_name, 'vcenter', 'vcenter',
::OpenNebula::ClusterPool::NONE_CLUSTER_ID)
return -1, rc.message if ::OpenNebula.is_error?(rc)