mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-09 22:14:13 +09:00
Change host allocate signature, fix for onevcenter
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user