Skip to content

Commit ff77c62

Browse files
author
Guanpeng Xu
committed
Call dissoc with apply to delete keys in the rest arguments
1 parent b965f2f commit ff77c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clj/backtype/storm/daemon/worker.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
(.close (get @(:cached-node+port->socket worker) endpoint)))
253253
(apply swap!
254254
(:cached-node+port->socket worker)
255-
#(HashMap. (dissoc (into {} %1) %&))
255+
#(HashMap. (apply dissoc (into {} %1) %&))
256256
remove-connections)
257257

258258
(let [missing-tasks (->> needed-tasks

0 commit comments

Comments
 (0)