]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/files/default/plugins/api_calls_num
Fix some rubocop detected style issues
[chef.git] / cookbooks / munin / files / default / plugins / api_calls_num
index d2f7ea3720b29e562c6592d656dcd71c2639c4d4..c65ae0a7ad48c207e06df7f00046511b4a7699c6 100755 (executable)
@@ -63,7 +63,7 @@ else
   min_time, max_time, lines = uris_from_logs
   delta_t = (max_time - min_time).to_f * 24 * 60
   counts = lines.
-      collect {|x| categorise_uri(x)}.
+      collect { |x| categorise_uri(x) }.
       inject(Hash.new) do |h, e|
     if h.has_key? e
       h[e] += 1