X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/90a349e0bc558441e65156eabb585c578d93fbfd..8df838bf09d95282ba29ddde8b504e0affc5f06e:/cookbooks/munin/files/default/plugins/api_calls_ diff --git a/cookbooks/munin/files/default/plugins/api_calls_ b/cookbooks/munin/files/default/plugins/api_calls_ index 79c306635..ea95ed137 100755 --- a/cookbooks/munin/files/default/plugins/api_calls_ +++ b/cookbooks/munin/files/default/plugins/api_calls_ @@ -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