Update createComponents to supply AllocationService instead of AllocationDeciders (#92785)

This commit is contained in:
Ievgen Degtiarenko 2023-01-10 14:18:33 +01:00 committed by GitHub
parent 227181d72b
commit ad229dd70e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 105 additions and 103 deletions

View file

@ -10,7 +10,7 @@ package org.elasticsearch.runtimefields;
import org.elasticsearch.client.internal.Client;
import org.elasticsearch.cluster.metadata.IndexNameExpressionResolver;
import org.elasticsearch.cluster.routing.allocation.decider.AllocationDeciders;
import org.elasticsearch.cluster.routing.allocation.AllocationService;
import org.elasticsearch.cluster.service.ClusterService;
import org.elasticsearch.common.io.stream.NamedWriteableRegistry;
import org.elasticsearch.common.settings.Setting;
@ -76,7 +76,7 @@ public final class RuntimeFieldsCommonPlugin extends Plugin {
IndexNameExpressionResolver indexNameExpressionResolver,
Supplier<RepositoriesService> repositoriesServiceSupplier,
Tracer tracer,
AllocationDeciders allocationDeciders
AllocationService allocationService
) {
grokHelper.finishInitializing(threadPool);
return List.of();