mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
M #-: minor fix in OneFlow (#4550)
This commit is contained in:
parent
6f94142ae8
commit
ebd8aaf931
@ -539,7 +539,7 @@ post '/service_template/:id/action' do
|
||||
# Existing: "net": "M|network|| |id:0"
|
||||
# Instantiate: "net": "M|network|| |template_id:1"
|
||||
# Reserve: "net": "M|network|| |reserve_from:0"
|
||||
value = value.split('||')[1].gsub('|', '').strip.split(':')
|
||||
value = value.split('|')[4].strip.split(':')
|
||||
|
||||
net[key][value[0]] = value[1]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user