Skip to content

Commit

Permalink
each_values -> each_value ruby typo
Browse files Browse the repository at this point in the history
  • Loading branch information
danwain authored and Dan Wainwright committed Jan 18, 2024
1 parent a3653da commit 10f57fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/selinux_login/semanage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def self.prefetch(resources)
resource.provider = provider
resource[:ensure] = :present if provider.source == :policy
else
resources.each_values do |res|
resources.each_value do |res|
next unless res[:selinux_user] == provider.selinux_user && res[:selinux_login_name] == provider.selinux_login_name

warning("Selinux_login['#{res[:name]}']: title does not match its login ('#{provider.name}' != '#{provider.selinux_login_name}')")
Expand Down

0 comments on commit 10f57fa

Please sign in to comment.