Skip to content

Commit

Permalink
update to use BaseNodeRequest in 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ansjcy committed Feb 6, 2024
1 parent b792641 commit 27e8f04
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import org.opensearch.OpenSearchException;
import org.opensearch.action.FailedNodeException;
import org.opensearch.action.support.ActionFilters;
import org.opensearch.action.support.nodes.BaseNodeRequest;
import org.opensearch.action.support.nodes.TransportNodesAction;
import org.opensearch.cluster.service.ClusterService;
import org.opensearch.common.inject.Inject;
Expand All @@ -24,7 +25,6 @@
import org.opensearch.plugin.insights.rules.model.MetricType;
import org.opensearch.plugin.insights.settings.QueryInsightsSettings;
import org.opensearch.threadpool.ThreadPool;
import org.opensearch.transport.TransportRequest;
import org.opensearch.transport.TransportService;

import java.io.IOException;
Expand Down Expand Up @@ -123,7 +123,7 @@ protected TopQueries nodeOperation(final NodeRequest nodeRequest) {
*
* @opensearch.internal
*/
public static class NodeRequest extends TransportRequest {
public static class NodeRequest extends BaseNodeRequest {

final TopQueriesRequest request;

Expand Down

0 comments on commit 27e8f04

Please sign in to comment.