Skip to content

Commit

Permalink
style(rubocop): Lint/UnderscorePrefixedVariableName
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcooke committed Feb 12, 2024
1 parent 278ef08 commit ec7dcf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/postal/worker.rb
Expand Up @@ -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) }
Expand Down

0 comments on commit ec7dcf4

Please sign in to comment.