From 368bccff90a2520bf4aa3d08d92dacff33003f7c Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Thu, 7 Aug 2025 12:24:43 +0200 Subject: [PATCH] L #-: Style/RedundantParentheses in tproxy.rb --- src/vnm_mad/remotes/lib/tproxy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vnm_mad/remotes/lib/tproxy.rb b/src/vnm_mad/remotes/lib/tproxy.rb index 935ea6bfa4..a5530172df 100644 --- a/src/vnm_mad/remotes/lib/tproxy.rb +++ b/src/vnm_mad/remotes/lib/tproxy.rb @@ -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