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

Commit

Permalink
Supply context rather than full opts to sync-fn
Browse files Browse the repository at this point in the history
  • Loading branch information
lbradstreet committed Jan 20, 2016
1 parent 6e045cf commit 3cbba7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onyx/triggers/triggers_api.clj
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
(let [window-metadata {:window-id window-id
:lower-bound lower
:upper-bound upper
:opts opts}]
:context (:context opts)}]
(refine-state event trigger)
((:trigger/sync-fn trigger) event window trigger window-metadata state)
(if (refinement-destructive? event trigger)
Expand Down

0 comments on commit 3cbba7d

Please sign in to comment.