From 3db12aee189721e602f996968907d65acef31889 Mon Sep 17 00:00:00 2001 From: mcabrerizo Date: Tue, 13 Jun 2017 07:26:09 +0200 Subject: [PATCH] F #4913: Fix vcenter template_to_one for templates import --- src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb b/src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb index 44b40ee44f..98c4e227f1 100644 --- a/src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb +++ b/src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb @@ -778,7 +778,7 @@ class Template raise "Could not find the host's ID associated to template being imported" if !host_id # Get the OpenNebula's template hash - one_tmp[:one] = template_to_one(template, vcenter_uuid, template_ccr_ref, template_ccr_name, import_name, host_id, cluster_id) + one_tmp[:one] = template_to_one(template, vcenter_uuid, template_ccr_ref, template_ccr_name, import_name, host_id) return one_tmp rescue return nil