From 2890ddbd69b56f62dd8a948ffea88ff2838585d6 Mon Sep 17 00:00:00 2001 From: jgarriuni Date: Fri, 29 Jun 2018 13:02:16 +0200 Subject: [PATCH] resolve bug rm in vcenter driver (#2237) --- src/datastore_mad/remotes/vcenter/rm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datastore_mad/remotes/vcenter/rm b/src/datastore_mad/remotes/vcenter/rm index 4ad42ecdbc1..a115917b9de 100755 --- a/src/datastore_mad/remotes/vcenter/rm +++ b/src/datastore_mad/remotes/vcenter/rm @@ -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)