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:
parent
d5d28420b6
commit
a294a7c6b5
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue