1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-04-01 06:50:25 +03:00

resolve bug rm in vcenter driver (#2237)

This commit is contained in:
jgarriuni 2018-06-29 13:02:16 +02:00 committed by Tino Vázquez
parent ec09b65412
commit 2890ddbd69

View File

@ -54,7 +54,7 @@ check_valid img_src, "img_src"
CDROM = "1"
begin
if !was_img_imported?(imported)
if was_img_imported?(imported)
vi_client = VCenterDriver::VIClient.new_from_datastore(ds_id)
ds = VCenterDriver::Datastore.new_from_ref(ds_ref, vi_client)