L #-: Style/RedundantParentheses in tproxy.rb

This commit is contained in:
Ruben S. Montero committed 2025-08-07 12:24:43 +02:00
1 parent 26ed861481
commit 368bccff90
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ module VNMMAD
# This is not considered a limitation since users can define multiple arbitrary
# services by picking different service ports. At the same time it significantly
# simplifies tproxy implementation on HV machines.
if !(a.find {|item| item[:service_port] == opts[:service_port] }).nil?
if !a.find {|item| item[:service_port] == opts[:service_port] }.nil?
OpenNebula::DriverLogger.log_warning "Ignoring tproxy duplicate: #{opts}"
next
end