mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-16 09:43:18 +09:00
Feature #2898: fix bug. params is now optional
This commit is contained in:
1 parent
a4500673c3
commit
604a4e120d
1 file changed
+1
@@ -408,6 +408,7 @@ post '/service_template/:id/action' do
|
||||
action = JSON.parse(request.body.read)['action']
|
||||
|
||||
opts = action['params']
|
||||
opts = {} if opts.nil?
|
||||
|
||||
rc = case action['perform']
|
||||
when 'instantiate'
|
||||
|
||||
Reference in new issue
Block a user