flant / curator-opensearch

Curator for OpenSearch.
Other
76 stars 28 forks source link

Fix for Issues/29 #30

Closed uzhinskiy closed 1 year ago

eyalc10 commented 1 year ago

@uzhinskiy - https://pypi.org/search/?q=opensearch-curator code was not published, I would install it manually and check

eyalc10 commented 1 year ago

Although it does finish successfully - it does not display the expected output as my fix would have displayed : the following is displayed: 2023-04-30 12:54:28,036 INFO Found restored index v2_audit_202 2023-04-30 12:54:28,036 INFO Found restored index v2_audit_202 2023-04-30 12:54:28,036 INFO Found restored index v2_audit_202 2023-04-30 12:54:28,036 INFO Found restored index v2_audit_202

In the above example - the following is expected 2023-04-30 12:54:28,036 INFO Found restored index v2_audit_2020 2023-04-30 12:54:28,036 INFO Found restored index v2_audit_2021 2023-04-30 12:54:28,036 INFO Found restored index v2_audit_2022 2023-04-30 12:54:28,036 INFO Found restored index v2_audit_2023

@uzhinskiy - I can submit a PR if you would revert the MR