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:
parent
3c888c2c3e
commit
d6ee031cf9
@ -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 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user