Skip to content

Commit

Permalink
Fix type error in graphite server.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterScott committed Mar 6, 2013
1 parent ec8c5d0 commit 3ac59f5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/riemann/transport/graphite.clj
Expand Up @@ -40,10 +40,9 @@
"A closure which yields a graphite frame-decoder. Taking an argument
which will be given to decode-graphite-line (hence the closure)"
[parser-fn]
(fn []
(proxy [OneToOneDecoder] []
(decode [context channel message]
(decode-graphite-line message parser-fn)))))
(proxy [OneToOneDecoder] []
(decode [context channel message]
(decode-graphite-line message parser-fn))))

(defn graphite-handler
"Given a core and a MessageEvent, applies the message to core."
Expand Down

0 comments on commit 3ac59f5

Please sign in to comment.