Skip to content

Commit

Permalink
fix URI
Browse files Browse the repository at this point in the history
  • Loading branch information
sagikSF committed Aug 9, 2023
1 parent 0a96cd7 commit 09f5414
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ private Set<String> getCurrentAliases() {
private List<String> getIndicesToBeMoved(String alais) {
try {
Set<String> indexNotToMerge = getAliases(alais + "*").keySet();
Request request = new Request("GET", "_cat/indices/" + alais + "*?format=json");
Request request = new Request("GET", "/_cat/indices/" + alais + "*?format=json");
Response response = client.getLowLevelClient().performRequest(request);
InputStream content = response.getEntity().getContent();
String json = IOUtils.toString(content);
Expand Down

0 comments on commit 09f5414

Please sign in to comment.