diff --git a/src/oca/ruby/opennebula/marketplaceapp_ext.rb b/src/oca/ruby/opennebula/marketplaceapp_ext.rb index 3b14fc48d0..a6182afba2 100644 --- a/src/oca/ruby/opennebula/marketplaceapp_ext.rb +++ b/src/oca/ruby/opennebula/marketplaceapp_ext.rb @@ -654,7 +654,7 @@ module OpenNebula::MarketPlaceAppExt :notemplate => options[:notemplate] ) - image = rc[:image].first if rc[:image] + image = rc[:image].first if rc[:image] break image if OpenNebula.is_error?(image) vmtemplate = rc[:vmtemplate].first if rc[:vmtemplate]