Skip to content

Commit

Permalink
Event-to-json uses pre-dump-event.
Browse files Browse the repository at this point in the history
  • Loading branch information
aphyr committed Jun 11, 2012
1 parent 01764b2 commit 6482df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/riemann/common.clj
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
(defn event-to-json
"Convert an event to a JSON string."
[event]
(json/generate-string event))
(json/generate-string (pre-dump-event event)))

(defn decode-inputstream
"Decode an InputStream to a message. Decodes the protobuf representation of
Expand Down

0 comments on commit 6482df9

Please sign in to comment.