Permalink
Browse files

Fix type error in graphite server.

  • Loading branch information...
1 parent ec8c5d0 commit 3ac59f57a346132d08be23b578d5df191c264d42 @PeterScott PeterScott committed Mar 6, 2013
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/riemann/transport/graphite.clj
@@ -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."

0 comments on commit 3ac59f5

Please sign in to comment.