1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

Update virtual_machine.rb

This commit is contained in:
Tino Vázquez 2018-12-20 15:32:21 +01:00 committed by GitHub
parent ccf16a7205
commit 96d58c1773
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2931,7 +2931,7 @@ class VirtualMachine < VCenterDriver::Template
src_id = pool["/HOST_POOL/HOST[NAME='#{src_host}']/ID"].to_i
dst_id = pool["/HOST_POOL/HOST[NAME='#{dst_host}']/ID"].to_i
# diferent destination ds
# different destination ds
if ds
ds_pool = OpenNebula::DatastorePool.new(one_client)
ds_pool.info