Skip to content

Commit

Permalink
re-order of remove alias
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-td committed Feb 17, 2023
1 parent 3e12d0b commit 803767f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ public void reassignAlias(String aliasName, String newIndexName, PluginTask task
List<String> oldIndices = getIndexByAlias(aliasName, task);
assignAlias(newIndexName, aliasName, task);
for (String index : oldIndices) {
deleteIndex(index, task);
deleteAlias(index, aliasName, task);
deleteIndex(index, task);
}
}
}
Expand Down

0 comments on commit 803767f

Please sign in to comment.