Skip to content

Commit

Permalink
Update ml-algorithms/src/main/java/org/opensearch/ml/engine/tools/Cat…
Browse files Browse the repository at this point in the history
…IndexTool.java

Co-authored-by: Daniel Widdis <[email protected]>
Signed-off-by: zane-neo <[email protected]>
  • Loading branch information
zane-neo and dbwiddis authored Dec 4, 2024
1 parent 0714b07 commit 580e3ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public <T> void run(Map<String, String> parameters, ActionListener<T> listener)
final String[] indices = indexList.toArray(Strings.EMPTY_ARRAY);

final IndicesOptions indicesOptions = IndicesOptions.strictExpand();
final boolean local = parameters.containsKey("local") && Boolean.parseBoolean(parameters.get("local"));
final boolean local = Boolean.parseBoolean(parameters.get("local"));
final boolean includeUnloadedSegments = Boolean.parseBoolean(parameters.get("include_unloaded_segments"));
final PageParams pageParams = new PageParams(null, PageParams.PARAM_ASC_SORT_VALUE, DEFAULT_PAGE_SIZE);

Expand Down

0 comments on commit 580e3ba

Please sign in to comment.