Skip to content

Commit

Permalink
Change createComponents to take in PluginAwareNodeClient
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Jul 12, 2024
1 parent 70c0c80 commit dc5c5a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/main/java/org/opensearch/plugins/Plugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
package org.opensearch.plugins;

import org.opensearch.bootstrap.BootstrapCheck;
import org.opensearch.client.Client;
import org.opensearch.client.node.PluginAwareNodeClient;
import org.opensearch.cluster.ClusterState;
import org.opensearch.cluster.metadata.IndexNameExpressionResolver;
import org.opensearch.cluster.metadata.IndexTemplateMetadata;
Expand Down Expand Up @@ -140,7 +140,7 @@ public Collection<Class<? extends LifecycleComponent>> getGuiceServiceClasses()
* is called, but will return the repositories service once the node is initialized.
*/
public Collection<Object> createComponents(
Client client,
PluginAwareNodeClient client,
ClusterService clusterService,
ThreadPool threadPool,
ResourceWatcherService resourceWatcherService,
Expand Down

0 comments on commit dc5c5a8

Please sign in to comment.