flant / curator-opensearch

Curator for OpenSearch.
Other
75 stars 28 forks source link

update display for report_state function upon restore #31

Closed eyalc10 closed 1 year ago

eyalc10 commented 1 year ago

When indices equals v2_audit_202*, report_state prints the following:

2023-04-30 14:10:00,374 INFO Found restored index v2_audit_202 2023-04-30 14:10:00,374 INFO Found restored index v2_audit_202 2023-04-30 14:10:00,374 INFO Found restored index v2_audit_202 2023-04-30 14:10:00,374 INFO Found restored index v2_audit_202

instead of specific names like the following (for example) 2023-04-30 13:37:52,621 INFO Found restored index v2_audit_2020 2023-04-30 13:37:52,621 INFO Found restored index v2_audit_2021 2023-04-30 13:37:52,621 INFO Found restored index v2_audit_2022 2023-04-30 13:37:52,621 INFO Found restored index v2_audit_2023

My change fixes that

uzhinskiy commented 1 year ago

https://pypi.org/project/curator-opensearch/0.0.12/