]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mysql/providers/database.rb
Remove trailing whitespace in ruby code
[chef.git] / cookbooks / mysql / providers / database.rb
index 29b38f70e4c4988b97f4ff9aaeb079ee7574e5fb..556e40454673f27c1a6ebf8c2cf4c394198094ac 100644 (file)
@@ -40,7 +40,7 @@ action :create do
     [@mysql.canonicalise_user(user), privileges]
   end]
 
-  @current_resource.permissions.each do |user,privileges|
+  @current_resource.permissions.each_key do |user|
     unless new_permissions[user]
       converge_by("revoke all for #{user} on #{new_resource}") do
         Chef::Log.info("Revoking all for #{user} on #{new_resource}")