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 4ec2a52 commit 6032735
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 @@ -64,7 +64,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 6032735

Please sign in to comment.