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

M #-: Get defaults on import network

if no options provided
This commit is contained in:
Tino Vazquez 2021-04-06 11:25:39 +02:00
parent 3c888c2c3e
commit d6ee031cf9
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

@ -539,6 +539,7 @@ module VCenterDriver
selected = selected[index]
# import the object
opts[index] ||= @defaults
@info[:success] << import(selected, opts[index])
rescue StandardError => e
@info[:error] << { index => e.message }