Permalink
Browse files

satellite-slave: Remove enrich-settings from sample config files.

There was already some reluctance to have this outside the jar because
it necessitated duplication in the repo among multiple sample config
files.  Now we also have some evidence from users that this function's
presence in an external config file can cause confusion.
  • Loading branch information...
mforsyth committed Mar 7, 2016
1 parent b865232 commit 2ddbc6bdf4b81c606256c302f090db9531b52522
@@ -14,10 +14,6 @@

(def custom-comets [])

(defn enrich-settings
[s]
(assoc s :comets (into custom-comets (map build-comet (:comets s)))))

(def settings
(-> "{{ satellite_install_dir }}/satellite-slave-settings.json"
clojure.java.io/reader
@@ -27,10 +27,6 @@
:ttl 300
:description "example test -- number of files/dirs in cwd"}]))}])

(defn enrich-settings
[s]
(assoc s :comets (into custom-comets (map build-comet (:comets s)))))

(def settings
(-> "config/sample-settings.json"
clojure.java.io/reader

0 comments on commit 2ddbc6b

Please sign in to comment.