M #-: Get defaults on import network

if no options provided
This commit is contained in:
Tino Vazquez committed 2021-04-06 11:26:05 +02:00
1 parent 3c888c2c3e
commit d6ee031cf9
1 file changed
+1
@@ -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 }