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

L #-: fix two rubocop offenses

This commit is contained in:
Tino Vazquez 2021-10-07 19:02:23 +02:00
parent 56529fdb0a
commit 495355bfc4
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -309,9 +309,9 @@ module OpenNebula
if append
IMMUTABLE_ATTRS.each do |attr|
next if template[attr].nil?
return [false, "service_template/#{attr}"]
unless template[attr].nil?
return [false, "service_template/#{attr}"]
end
end
else
IMMUTABLE_ATTRS.each do |attr|