mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
Update createComponents to supply AllocationService instead of AllocationDeciders (#92785)
This commit is contained in:
parent
227181d72b
commit
ad229dd70e
50 changed files with 105 additions and 103 deletions
|
@ -11,7 +11,7 @@ package org.elasticsearch.plugin.repository.url;
|
|||
import org.apache.lucene.util.SetOnce;
|
||||
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.blobstore.url.http.URLHttpClient;
|
||||
import org.elasticsearch.common.io.stream.NamedWriteableRegistry;
|
||||
|
@ -88,7 +88,7 @@ public class URLRepositoryPlugin extends Plugin implements RepositoryPlugin {
|
|||
IndexNameExpressionResolver indexNameExpressionResolver,
|
||||
Supplier<RepositoriesService> repositoriesServiceSupplier,
|
||||
Tracer tracer,
|
||||
AllocationDeciders allocationDeciders
|
||||
AllocationService allocationService
|
||||
) {
|
||||
|
||||
final URLHttpClient.Factory apacheURLHttpClientFactory = new URLHttpClient.Factory();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue