fix IndexLifecycleService setting member

the settings variable was previously created by
the AbstractComponent class inherited by IndexLifecycleService.
this is no more.
This commit is contained in:
Tal Levy 2018-10-31 11:17:10 -07:00
parent d5d28420b6
commit a294a7c6b5
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@ public class IndexLifecycleService extends AbstractComponent
private final Clock clock; private final Clock clock;
private final PolicyStepsRegistry policyRegistry; private final PolicyStepsRegistry policyRegistry;
private final IndexLifecycleRunner lifecycleRunner; private final IndexLifecycleRunner lifecycleRunner;
private final Settings settings;
private Client client; private Client client;
private ClusterService clusterService; private ClusterService clusterService;
private LongSupplier nowSupplier; private LongSupplier nowSupplier;
@ -61,6 +62,7 @@ public class IndexLifecycleService extends AbstractComponent
public IndexLifecycleService(Settings settings, Client client, ClusterService clusterService, Clock clock, LongSupplier nowSupplier, public IndexLifecycleService(Settings settings, Client client, ClusterService clusterService, Clock clock, LongSupplier nowSupplier,
NamedXContentRegistry xContentRegistry) { NamedXContentRegistry xContentRegistry) {
super(settings); super(settings);
this.settings = settings;
this.client = client; this.client = client;
this.clusterService = clusterService; this.clusterService = clusterService;
this.clock = clock; this.clock = clock;