Skip to content

Commit

Permalink
change comment to _list/indices API rest action file
Browse files Browse the repository at this point in the history
Signed-off-by: zane-neo <[email protected]>
  • Loading branch information
zane-neo committed Dec 10, 2024
1 parent 99b3130 commit c049abd
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,8 @@ public Object parse(Object o) {

@Override
public <T> void run(Map<String, String> parameters, ActionListener<T> listener) {
// TODO: This logic exactly matches the OpenSearch _cat/indices REST action. If code at
// o.o.rest/action/cat/RestIndicesAction.java changes those changes need to be reflected here
// https://github.com/opensearch-project/ml-commons/pull/1582#issuecomment-1796962876
// TODO: This logic exactly matches the OpenSearch _list/indices REST action. If code at
// o.o.rest/action/list/RestIndicesListAction.java changes those changes need to be reflected here
@SuppressWarnings("unchecked")
List<String> indexList = parameters.containsKey("indices")
? gson.fromJson(parameters.get("indices"), List.class)
Expand Down

0 comments on commit c049abd

Please sign in to comment.