]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/files/default/plugins/api_calls_
Fix rubocop warnings
[chef.git] / cookbooks / munin / files / default / plugins / api_calls_
index 79c306635d319afacdbb47847ede2934b15b574d..ea95ed137d4f5133684613538ea13e3d7fcae0a5 100755 (executable)
@@ -62,7 +62,7 @@ else
     end
   end
 
-  CALL_TYPES.keys.each do |type|
+  CALL_TYPES.each_key do |type|
     count = counts[type] || 0
     puts "#{type}.value #{count}"
   end