mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-09 14:03:20 +09:00
B #-: Fix on marketapp helper about obtain templates (#3500)
This commit is contained in:
1 parent
5e9b2cfbd3
commit
2dd2e2c138
1 file changed
+1
-1
@@ -547,7 +547,7 @@ class OneMarketPlaceAppHelper < OpenNebulaHelper::OneHelper
|
||||
# Iterate all the roles to ask for the marketplace
|
||||
body['roles'].each do |role|
|
||||
# Read role VM template information from OpenNebula
|
||||
template = Template.new_with_id(role['vm_template'], @client)
|
||||
template = Template.new_with_id(role['template_id'], @client)
|
||||
rc = template.info
|
||||
|
||||
return rc if OpenNebula.is_error?(rc)
|
||||
|
||||
Reference in new issue
Block a user