Skip to content

Commit

Permalink
Fixed parseDeprecatedMasterTimeoutParameter method calling
Browse files Browse the repository at this point in the history
Signed-off-by: Somesh Gupta <someshgupta987@gmail.com>
  • Loading branch information
aasom143 committed Sep 3, 2024
1 parent b0794ec commit 93ae032
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public RestChannelConsumer doCatRequest(final RestRequest request, final NodeCli
shardsRequest.clusterManagerNodeTimeout(request.paramAsTime("cluster_manager_timeout", shardsRequest.clusterManagerNodeTimeout()));
shardsRequest.setCancelAfterTimeInterval(request.paramAsTime("cancel_after_time_interval", NO_TIMEOUT));
shardsRequest.setIndices(indices);
parseDeprecatedMasterTimeoutParameter(shardsRequest, request, deprecationLogger, getName());
parseDeprecatedMasterTimeoutParameter(shardsRequest, request);
return channel -> client.execute(CatShardsAction.INSTANCE, shardsRequest, new RestResponseListener<CatShardsResponse>(channel) {

Check warning on line 117 in server/src/main/java/org/opensearch/rest/action/cat/RestShardsAction.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/rest/action/cat/RestShardsAction.java#L116-L117

Added lines #L116 - L117 were not covered by tests
@Override
public RestResponse buildResponse(CatShardsResponse catShardsResponse) throws Exception {
Expand Down

0 comments on commit 93ae032

Please sign in to comment.