Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix type error in graphite server.

  • Loading branch information...
commit 3ac59f57a346132d08be23b578d5df191c264d42 1 parent ec8c5d0
@PeterScott PeterScott authored
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/riemann/transport/graphite.clj
View
7 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."
Please sign in to comment.
Something went wrong with that request. Please try again.