Skip to content

Commit

Permalink
L #-: Useless assignment to variable - template
Browse files Browse the repository at this point in the history
(cherry picked from commit ed0b8ca3851c5c4e306408ad7859277b233a1076)
  • Loading branch information
rsmontero committed Nov 4, 2024
1 parent 0165f55 commit bfb6ff3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/oca/ruby/opennebula/flow/service_template_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfb6ff3

Please sign in to comment.