mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-04 14:12:01 +09:00
L #-: Style/RedundantParentheses in tproxy.rb
This commit is contained in:
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user