mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
1 parent
2e0514527f
commit
d4be3e5257
1 file changed
+2
-2
@@ -104,7 +104,7 @@ module OpenNebulaJSON
|
||||
|
||||
ids_images = []
|
||||
|
||||
if (params['IMPORT_ALL'] == 'yes')
|
||||
if params['IMPORT_ALL']
|
||||
vm_templates_ids.each { |id|
|
||||
template = Template.new_with_id(id, @client)
|
||||
template.info
|
||||
@@ -141,7 +141,7 @@ module OpenNebulaJSON
|
||||
error_code, rc = s_template.mp_import(templates, market_id, template_name)
|
||||
|
||||
if error_code == -1
|
||||
if (params['IMPORT_ALL'] == 'yes')
|
||||
if params['IMPORT_ALL']
|
||||
ids_images.each do |id|
|
||||
app = MarketPlaceApp.new_with_id(id, @client)
|
||||
|
||||
|
||||
Reference in new issue
Block a user