]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/files/default/plugins/api_calls_num
Merge remote-tracking branch 'github/pull/242'
[chef.git] / cookbooks / munin / files / default / plugins / api_calls_num
index e2f74d9fff691727ac88c0d059ce6d2fc851efa8..e776505d23926ac80a3e5288500fe25f13b376bb 100755 (executable)
@@ -27,7 +27,7 @@ if ARGV[0] == "config"
 else
   statistics = JSON.parse(File.read("/srv/www.openstreetmap.org/rails/tmp/statistics.json"))
 
-  CALL_TYPES.keys.each do |type|
+  CALL_TYPES.each_key do |type|
     count = statistics["uri"][type.to_s] || 0
     puts "#{type}.value #{count}"
   end