From d46f83c53b375177cfbe3930cad6d7cb9a73a3a9 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Tue, 12 Jul 2016 22:47:20 -0400 Subject: [PATCH] Fix compilation error Core changed... Original commit: elastic/x-pack-elasticsearch@c80d5fd0421a914b696e27e2148e3ce64f8d9021 --- .../src/main/java/org/elasticsearch/xpack/XPackPlugin.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/elasticsearch/x-pack/src/main/java/org/elasticsearch/xpack/XPackPlugin.java b/elasticsearch/x-pack/src/main/java/org/elasticsearch/xpack/XPackPlugin.java index 9abcebc57a8..167cbfed764 100644 --- a/elasticsearch/x-pack/src/main/java/org/elasticsearch/xpack/XPackPlugin.java +++ b/elasticsearch/x-pack/src/main/java/org/elasticsearch/xpack/XPackPlugin.java @@ -40,6 +40,7 @@ import org.elasticsearch.rest.RestHandler; import org.elasticsearch.script.ScriptContext; import org.elasticsearch.threadpool.ExecutorBuilder; import org.elasticsearch.threadpool.ThreadPool; +import org.elasticsearch.watcher.ResourceWatcherService; import org.elasticsearch.xpack.action.TransportXPackInfoAction; import org.elasticsearch.xpack.action.TransportXPackUsageAction; import org.elasticsearch.xpack.action.XPackInfoAction; @@ -179,7 +180,8 @@ public class XPackPlugin extends Plugin implements ScriptPlugin, ActionPlugin { } @Override - public Collection createComponents(Client client, ClusterService clusterService, ThreadPool threadPool) { + public Collection createComponents(Client client, ClusterService clusterService, ThreadPool threadPool, + ResourceWatcherService resourceWatcherService) { List components = new ArrayList<>(); if (transportClientMode == false) { // watcher http stuff