From bfb6ff386a1671ba8c4b94b41f8a67e0a858632f Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Mon, 4 Nov 2024 13:45:31 +0100 Subject: [PATCH] L #-: Useless assignment to variable - template (cherry picked from commit ed0b8ca3851c5c4e306408ad7859277b233a1076) --- src/oca/ruby/opennebula/flow/service_template_ext.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/src/oca/ruby/opennebula/flow/service_template_ext.rb b/src/oca/ruby/opennebula/flow/service_template_ext.rb index 68279b8cfe0..6e297d5f3ad 100644 --- a/src/oca/ruby/opennebula/flow/service_template_ext.rb +++ b/src/oca/ruby/opennebula/flow/service_template_ext.rb @@ -38,7 +38,6 @@ class << obj # @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