OpenSearch/elasticsearch
Alexander Reelsen cb7f916485 Watcher: Remove async code in sync code block (elastic/elasticsearch#4506)
Watcher: Remove async code in sync code block

When removing the watch store this code snippet sneaked in.
A call to get a watch in order to find out if it exists was async, but
the code checking the result was called immediately afterwards without
waiting for the result, thus always using the default value.

This also removes some unused code in TriggeredWatchStore.

Original commit: elastic/x-pack-elasticsearch@c47e70bf8a
2017-01-05 10:24:17 +01:00
..
bin/x-pack Build: Reorganize src roots 2016-10-01 09:46:43 +02:00
config/x-pack Build: Reorganize src roots 2016-10-01 09:46:43 +02:00
keys Collapsed license code into xpack src 2016-09-29 12:22:19 +02:00
src Watcher: Remove async code in sync code block (elastic/elasticsearch#4506) 2017-01-05 10:24:17 +01:00
NOTICE.txt Moved directories around 2016-09-29 12:03:14 +02:00
build.gradle Build: Convert xplugins to use new extra projects setup (elastic/elasticsearch#4175) 2016-12-14 15:02:28 -08:00