Skip to content

Commit

Permalink
Merge pull request #128 from pyr/feature/no-reflection
Browse files Browse the repository at this point in the history
graphite: remove reflection on graphite
  • Loading branch information
michaelklishin committed Dec 23, 2017
2 parents e02e4e7 + 75dff98 commit ca9c7b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
(reporter default-registry opts))
([^MetricRegistry reg {:keys [graphite host hostname port prefix clock rate-unit duration-unit filter] :as opts
:or {port 2003}}]
(let [g (or graphite
(let [g (or ^Graphite graphite
(graphite-sender (or host hostname "localhost") port))
b (builder-for-registry reg)]
(when-let [^String s prefix]
Expand Down

0 comments on commit ca9c7b4

Please sign in to comment.