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

raising datastore not found error, vCenter driver

This commit is contained in:
sergio semedi 2019-01-08 14:52:45 +01:00 committed by Tino Vázquez
parent 4d514a0abe
commit dc4e09d269

View File

@ -592,6 +592,8 @@ class Template
if is_disk_or_iso?(device)
disk[:device] = device
raise "not datastore found" unless device.backing.datastore
disk[:datastore] = device.backing.datastore
disk[:path] = device.backing.fileName
disk[:path_wo_ds]= disk[:path].sub(/^\[(.*?)\] /, "")