Permalink
Browse files

Remove ".com" from non-default cloud names.

  • Loading branch information...
1 parent 3d0e9e4 commit 17029155f6f3409ffb6200f146939ee9e6729f8b @technomancy technomancy committed Oct 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/pulse/def.clj
View
@@ -252,7 +252,7 @@
(defn scope-stat [cloud stat-name]
(if (= cloud (conf/default-cloud))
(name stat-name)
- (str cloud "." (name stat-name))))
+ (str (string/replace cloud #"\.com" "") "." (name stat-name))))
(defmacro defstat [stat-name stat-body]
`(do

0 comments on commit 1702915

Please sign in to comment.