mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-26 06:50:09 +03:00
Error during conflict resolution
This commit is contained in:
parent
a869f36a83
commit
6294d44a50
@ -2961,12 +2961,8 @@ class VirtualMachine < VCenterDriver::Template
|
||||
pool = OpenNebula::HostPool.new(one_client)
|
||||
pool.info
|
||||
|
||||
datastores = OpenNebula::DatastorePool.new(one_client)
|
||||
datastores.info
|
||||
|
||||
src_id = pool["/HOST_POOL/HOST[NAME='#{src_host}']/ID"].to_i
|
||||
dst_id = pool["/HOST_POOL/HOST[NAME='#{dst_host}']/ID"].to_i
|
||||
datastore = datastores["/DATASTORE_POOL/DATASTORE[ID='#{ds}']/TEMPLATE/VCENTER_DS_REF"]
|
||||
|
||||
# different destination ds
|
||||
if ds
|
||||
|
Loading…
x
Reference in New Issue
Block a user