Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Revert "Fixes #464 - flow conditions :flow/from -> :all didn't compil…
Browse files Browse the repository at this point in the history
…e properly."

This reverts commit c421583.
  • Loading branch information
Michael Drogalis committed Dec 29, 2015
1 parent 1f054b4 commit 68b2f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onyx/peer/task_compile.clj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[clj-tuple :as t]))

(defn only-relevant-branches [flow task]
(filter #(or (= (:flow/from %) task) (= :all (:flow/from %))) flow))
(filter #(or (= (:flow/from %) task) (= :all %)) flow))

(defn compile-flow-conditions [flow-conditions task-name f]
(let [conditions (filter f (only-relevant-branches flow-conditions task-name))]
Expand Down

0 comments on commit 68b2f76

Please sign in to comment.