diff --git a/src/main/java/org/elasticsearch/watcher/rest/action/RestExecuteWatchAction.java b/src/main/java/org/elasticsearch/watcher/rest/action/RestExecuteWatchAction.java index 89e6a0fcb78..fef5868456a 100644 --- a/src/main/java/org/elasticsearch/watcher/rest/action/RestExecuteWatchAction.java +++ b/src/main/java/org/elasticsearch/watcher/rest/action/RestExecuteWatchAction.java @@ -130,7 +130,7 @@ public class RestExecuteWatchAction extends WatcherRestHandler { if (triggerEvent == null) { throw new WatcherException("[{}] is a required field.",TRIGGER_EVENT_FIELD.getPreferredName()); } - + executeWatchRequestBuilder.setTriggerEvent(triggerEvent); return executeWatchRequestBuilder.request(); }