Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

repl/start-server! now takes a hash-map instead of a vector.

This is what the rest of the code expects. Previously, this would cause a crash:

(repl-server :host "0.0.0.0")
  • Loading branch information...
commit bd4d29b9210b4c8ba0ba31ff8b39404c548d5857 1 parent 31672c2
@PeterScott PeterScott authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  src/riemann/repl.clj
View
3  src/riemann/repl.clj
@@ -23,8 +23,7 @@
:port (default 5557)"
[opts]
(stop-server!)
- (let [opts (merge {:port 5557 :host "127.0.0.1"}
- (apply hash-map opts))]
+ (let [opts (merge {:port 5557 :host "127.0.0.1"} opts)]
(def server (nrepl/start-server
:port (:port opts)
:bind (:host opts)))
Please sign in to comment.
Something went wrong with that request. Please try again.