lib/riemann/dash/helper/renderer.rb in riemann-dash-0.0.5 vs lib/riemann/dash/helper/renderer.rb in riemann-dash-0.1.0

- old
+ new

@@ -140,10 +140,10 @@ m[s] = max m end.merge o[:maxima] else states.inject(Hash.new(0)) do |m, s| - if s.metric + if s.metric && !(s.metric.nan?) m[s.service] = [s.metric, m[s.service]].max end m end.merge o[:maxima] end