Permalink
Browse files

Resolve non-default vars in pulse.def ns instead of user.

  • Loading branch information...
1 parent 3fed3b6 commit 83615556a8a621879795cad84081bb8cc4672b74 @technomancy technomancy committed Oct 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/pulse/def.clj
View
4 src/pulse/def.clj
@@ -1460,7 +1460,7 @@
:when (not= cloud (conf/default-cloud))
:let [scoped-name (scope-stat cloud (:name stat))
stat-sym (symbol (string/replace scoped-name "." "-"))]
- :when (resolve stat-sym)]
- (resolve stat-sym)))
+ :when (ns-resolve 'pulse.def stat-sym)]
+ (ns-resolve 'pulse.def stat-sym)))
(def all (apply concat defaults (map non-defaults defaults)))

0 comments on commit 8361555

Please sign in to comment.