lib/riemann/tools.rb in riemann-tools-0.1.0 vs lib/riemann/tools.rb in riemann-tools-0.1.1

- old
+ new

@@ -61,10 +61,12 @@ if options[:ttl] event[:ttl] = options[:ttl] end - event[:host] ||= options[:event_host] + if options[:event_host] + event[:host] = options[:event_host] + end riemann << event end def riemann