Skip to content

Commit

Permalink
fix build error in NodeRequest class (#18)
Browse files Browse the repository at this point in the history
Signed-off-by: Chenyang Ji <cyji@amazon.com>
  • Loading branch information
ansjcy authored Jul 16, 2024
1 parent 8d5c096 commit 95ad2c7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

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 @@ -22,7 +23,6 @@
import org.opensearch.plugin.insights.rules.action.top_queries.TopQueriesResponse;
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 @@ -112,7 +112,7 @@ protected TopQueries nodeOperation(final NodeRequest nodeRequest) {
/**
* Inner Node Top Queries Request
*/
public static class NodeRequest extends TransportRequest {
public static class NodeRequest extends BaseNodeRequest {

final TopQueriesRequest request;

Expand Down

0 comments on commit 95ad2c7

Please sign in to comment.