B #-: Fix on marketapp helper about obtain templates (#3500)

This commit is contained in:
Miguel E. Ruiz authored and GitHub committed 2025-03-24 11:57:31 +01:00
1 parent 5e9b2cfbd3
commit 2dd2e2c138
1 file changed
+1 -1
+1 -1
View File
@@ -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)