From a294a7c6b508badf2a02feffc22a34ee550d676a Mon Sep 17 00:00:00 2001 From: Tal Levy Date: Wed, 31 Oct 2018 11:17:10 -0700 Subject: [PATCH] fix IndexLifecycleService setting member the settings variable was previously created by the AbstractComponent class inherited by IndexLifecycleService. this is no more. --- .../xpack/indexlifecycle/IndexLifecycleService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/indexlifecycle/IndexLifecycleService.java b/x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/indexlifecycle/IndexLifecycleService.java index d86d6df0f97..1f4472daa2b 100644 --- a/x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/indexlifecycle/IndexLifecycleService.java +++ b/x-pack/plugin/ilm/src/main/java/org/elasticsearch/xpack/indexlifecycle/IndexLifecycleService.java @@ -53,6 +53,7 @@ public class IndexLifecycleService extends AbstractComponent private final Clock clock; private final PolicyStepsRegistry policyRegistry; private final IndexLifecycleRunner lifecycleRunner; + private final Settings settings; private Client client; private ClusterService clusterService; private LongSupplier nowSupplier; @@ -61,6 +62,7 @@ public class IndexLifecycleService extends AbstractComponent public IndexLifecycleService(Settings settings, Client client, ClusterService clusterService, Clock clock, LongSupplier nowSupplier, NamedXContentRegistry xContentRegistry) { super(settings); + this.settings = settings; this.client = client; this.clusterService = clusterService; this.clock = clock;