1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

L #-: Useless assignment to variable - template

This commit is contained in:
Ruben S. Montero 2024-11-04 13:45:31 +01:00
parent a4939a293d
commit ed0b8ca385
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -38,7 +38,6 @@ module OpenNebula::ServiceTemplateExt
# @param market_id [Integer] Marketplace ID to import app
# @param name [String] Service Template App name
def mp_import(templates, market_id, name)
template = ''
name ||= "#{@body['name']}-#{SecureRandom.hex[0..9]}"
template = <<-EOT