Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Apr 27, 2018
1 parent 6d15e52 commit 146dc41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/y2firewall/clients/auto.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def check_profile_for_errors
zones = firewalld.export["zones"] || []
all_interfaces = zones.collect { |zone| zone["interfaces"] || [] }
all_interfaces.flatten!
double_entries = all_interfaces.select{ |i| all_interfaces.count(i) > 1 }.uniq
double_entries = all_interfaces.select { |i| all_interfaces.count(i) > 1 }.uniq
unless double_entries.empty?
AutoInstall.issues_list.add(:invalid_value, "firewall", "interfaces",
double_entries.join(","),
Expand Down

0 comments on commit 146dc41

Please sign in to comment.