From 3cbba7d246deaad8dbbf61f02ec6532eeeacdd47 Mon Sep 17 00:00:00 2001 From: Lucas Bradstreet Date: Thu, 21 Jan 2016 04:32:55 +0800 Subject: [PATCH] Supply context rather than full opts to sync-fn --- src/onyx/triggers/triggers_api.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onyx/triggers/triggers_api.clj b/src/onyx/triggers/triggers_api.clj index eb951b4e3..6ac3b7381 100644 --- a/src/onyx/triggers/triggers_api.clj +++ b/src/onyx/triggers/triggers_api.clj @@ -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)