Skip to content

Commit

Permalink
fix build failure
Browse files Browse the repository at this point in the history
Signed-off-by: Shivansh Arora <[email protected]>
  • Loading branch information
shiv0408 committed Mar 19, 2024
1 parent 4824cc9 commit 9ebb37c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import org.opensearch.action.ActionType;
import org.opensearch.action.FailedNodeException;
import org.opensearch.action.support.ActionFilters;
import org.opensearch.action.support.nodes.BaseNodeRequest;
import org.opensearch.action.support.nodes.BaseNodeResponse;
import org.opensearch.action.support.nodes.BaseNodesRequest;
import org.opensearch.action.support.nodes.BaseNodesResponse;
Expand All @@ -57,7 +58,6 @@
import org.opensearch.indices.replication.checkpoint.ReplicationCheckpoint;
import org.opensearch.indices.store.ShardAttributes;
import org.opensearch.threadpool.ThreadPool;
import org.opensearch.transport.TransportRequest;
import org.opensearch.transport.TransportService;

import java.io.IOException;
Expand Down Expand Up @@ -256,7 +256,7 @@ protected void writeNodesTo(StreamOutput out, List<NodeGatewayStartedShards> nod
*
* @opensearch.internal
*/
public static class NodeRequest extends TransportRequest {
public static class NodeRequest extends BaseNodeRequest {

private final ShardId shardId;
@Nullable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.opensearch.action.ActionType;
import org.opensearch.action.FailedNodeException;
import org.opensearch.action.support.ActionFilters;
import org.opensearch.action.support.nodes.BaseNodeRequest;
import org.opensearch.action.support.nodes.BaseNodeResponse;
import org.opensearch.action.support.nodes.BaseNodesRequest;
import org.opensearch.action.support.nodes.BaseNodesResponse;
Expand All @@ -31,7 +32,6 @@
import org.opensearch.indices.replication.checkpoint.ReplicationCheckpoint;
import org.opensearch.indices.store.ShardAttributes;
import org.opensearch.threadpool.ThreadPool;
import org.opensearch.transport.TransportRequest;
import org.opensearch.transport.TransportService;

import java.io.IOException;
Expand Down Expand Up @@ -229,7 +229,7 @@ protected void writeNodesTo(StreamOutput out, List<NodeGatewayStartedShardsBatch
*
* @opensearch.internal
*/
public static class NodeRequest extends TransportRequest {
public static class NodeRequest extends BaseNodeRequest {
private final Map<ShardId, ShardAttributes> shardAttributes;

public NodeRequest(StreamInput in) throws IOException {
Expand Down

0 comments on commit 9ebb37c

Please sign in to comment.