1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

F #3264: Fix wrong var name

This commit is contained in:
Tino Vázquez 2019-06-03 11:34:44 +02:00 committed by GitHub
parent d59d0bf53c
commit 9d44e942ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ module VCenterDriver
def import(selected)
import_tmplt = selected['IMPORT_TEMPLATE']
import_tmplt = Base64.decode64(import_template) if import_tmplt
import_tmplt = Base64.decode64(import_tmplt) if import_tmplt
vm_ref = selected['DEPLOY_ID'] || selected[:wild]['DEPLOY_ID']
vm = selected[:one_item] || build
template = selected[:template] || import_tmplt