opensearch-project / index-management

🗃 Automate periodic data operations, such as deleting indices at a certain age or performing a rollover at a certain size
https://opensearch.org/docs/latest/im-plugin/index/
Apache License 2.0
53 stars 108 forks source link

[Backport 2.x] GET SM policies return empty list when ism config index does not exist #1078

Closed opensearch-trigger-bot[bot] closed 5 months ago

opensearch-trigger-bot[bot] commented 5 months ago

Backport 67292ca3326602f6914ca6282e3b7f77e7556d03 from #1072.

codecov[bot] commented 5 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (d221483) 75.02% compared to head (b5cece6) 75.12%.

Files Patch % Lines
.../api/transport/get/TransportGetSMPoliciesAction.kt 50.00% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## 2.x #1078 +/- ## ============================================ + Coverage 75.02% 75.12% +0.09% - Complexity 2899 2909 +10 ============================================ Files 372 372 Lines 17118 17122 +4 Branches 2473 2474 +1 ============================================ + Hits 12843 12863 +20 + Misses 2907 2889 -18 - Partials 1368 1370 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.