Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsver committed Oct 7, 2024
1 parent 20f4348 commit cf63684
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion resources/libraries/update_hosts_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def update_hosts_file
# Avoids having duplicate services in the list
service_key = new_service.split('.').first
hosts_hash.each do |_ip, services|
services_before = services.dup
services.delete_if { |service| service.split('.').first == service_key }
end

Expand Down

0 comments on commit cf63684

Please sign in to comment.