]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/files/default/plugins/api_calls_num
Fixup passenger munin plugins
[chef.git] / cookbooks / munin / files / default / plugins / api_calls_num
index fbc64f387df3ce29bfcf43d94cb7e57a8f4a4efc..c86275e693b1bedd27d3fadab6eb53d6f6369ebe 100755 (executable)
@@ -64,7 +64,7 @@ else
   delta_t = (max_time - min_time).to_f * 24 * 60
   counts = lines
            .collect { |x| categorise_uri(x) }
-           .each_with_object({}) do |h, e|
+           .each_with_object({}) do |e, h|
     if h.key? e
       h[e] += 1
     else