this solves mqtt publishing bug

#1274 bug  fix
This commit is contained in:
Matt O'Gorman 2016-04-18 22:04:13 -04:00
parent 4140fa62f9
commit ecfc89e4d7

View file

@ -109,7 +109,7 @@ module Agents
def receive(incoming_events)
mqtt_client.connect do |c|
incoming_events.each do |event|
c.publish(interpolated(event)['topic'], event)
c.publish(interpolated(event)['topic'], event.payload)
end
end
end