Skip to content

Commit

Permalink
Adding AllocationDeciders to EsqlPlugin, following the change in
Browse files Browse the repository at this point in the history
  • Loading branch information
astefan committed Sep 9, 2022
1 parent 5603426 commit c6580a7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import org.elasticsearch.client.internal.Client;
import org.elasticsearch.cluster.metadata.IndexNameExpressionResolver;
import org.elasticsearch.cluster.node.DiscoveryNodes;
import org.elasticsearch.cluster.routing.allocation.decider.AllocationDeciders;
import org.elasticsearch.cluster.service.ClusterService;
import org.elasticsearch.common.io.stream.NamedWriteableRegistry;
import org.elasticsearch.common.settings.ClusterSettings;
Expand Down Expand Up @@ -54,7 +55,8 @@ public Collection<Object> createComponents(
NamedWriteableRegistry namedWriteableRegistry,
IndexNameExpressionResolver expressionResolver,
Supplier<RepositoriesService> repositoriesServiceSupplier,
Tracer tracer
Tracer tracer,
AllocationDeciders allocationDeciders
) {
return createComponents(client, environment.settings(), clusterService);
}
Expand Down

0 comments on commit c6580a7

Please sign in to comment.