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;