From ec7dcf4f9a0bdb367a90f1a3b35336909ebc60d7 Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Sat, 10 Feb 2024 23:32:37 +0000 Subject: [PATCH] style(rubocop): Lint/UnderscorePrefixedVariableName --- lib/postal/worker.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/postal/worker.rb b/lib/postal/worker.rb index c790f1b1..7d5f858e 100644 --- a/lib/postal/worker.rb +++ b/lib/postal/worker.rb @@ -167,9 +167,9 @@ def manage_ip_queues leave_queue("outgoing-#{id}") @ip_queues.delete(id) ip_addresses_to_clear = [] - @ip_to_id_mapping.each do |_ip, _id| - if id == _id - ip_addresses_to_clear << _ip + @ip_to_id_mapping.each do |iip, iid| + if id == iid + ip_addresses_to_clear << iip end end ip_addresses_to_clear.each { |ip| @ip_to_id_mapping.delete(ip) }