lib/city_watch/util/collector.rb in city-watch-0.5.8 vs lib/city_watch/util/collector.rb in city-watch-0.5.9
- old
+ new
@@ -34,10 +34,10 @@
summary = {}
data[:watchmen].each do |watchman,dat|
if watch_obj = Watchmen.get(watchman)
- status, sum = watch_obj.process(dat,rcv_time,host)
+ _, sum = watch_obj.process(dat,rcv_time,host)
summary[watchman] = sum if sum
end
end
CityWatch.redis.zadd "#{CityWatch.config[:prefix]}::#{host}::summary", rcv_time, Yajl::Encoder.encode(summary.merge({:received_at => data[:received_at]}))
\ No newline at end of file