Skip to content

Commit

Permalink
test: test remove levels in indices request
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranshu-S committed Jul 11, 2024
1 parent 9c984a5 commit 6c1c4c7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ public RestChannelConsumer prepareRequest(final RestRequest request, final NodeC
}

// If no levels are passed in this results in an empty array.
String[] levels = Strings.splitStringByCommaToArray(request.param("level"));
nodesStatsRequest.indices().setLevels(levels);
// String[] levels = Strings.splitStringByCommaToArray(request.param("level"));
// nodesStatsRequest.indices().setLevels(levels);
// nodesStatsRequest.indices().optimizeNodeIndicesStatsOnLevel(true);

return channel -> client.admin().cluster().nodesStats(nodesStatsRequest, new NodesResponseRestListener<>(channel));
Expand Down

0 comments on commit 6c1c4c7

Please sign in to comment.