lib/flapjack/data/notification.rb in flapjack-0.8.5 vs lib/flapjack/data/notification.rb in flapjack-0.8.6

- old
+ new

@@ -50,10 +50,11 @@ last_state = opts[:last_state] || {} tag_data = event.tags.is_a?(Set) ? event.tags.to_a : nil notif = {'event_id' => event.id, + 'event_hash' => event.id_hash, 'state' => event.state, 'summary' => event.summary, 'details' => event.details, 'time' => event.time, 'duration' => event.duration, @@ -103,9 +104,10 @@ @state && ['test_notifications'].include?(@state) end def contents @contents ||= {'event_id' => @event_id, + 'event_hash' => @event_hash, 'state' => @state, 'summary' => @summary, 'duration' => @duration, 'last_state' => @last_state, 'last_summary' => @last_summary,