When accept-empty is false, make health indicator DOWN (#2756)

Fixes #2749
This commit is contained in:
Ryan Baxter
2025-02-22 08:50:26 -05:00
committed by GitHub
parent 4742859c12
commit ef8a62a506
6 changed files with 36 additions and 7 deletions

View File

@@ -25,3 +25,6 @@ You can disable the Health Indicator by setting `management.health.config.enable
Also, you can provide a custom `down` status of your own by setting property `spring.cloud.config.server.health.down-health-status` (valued to `"DOWN'` by default).
NOTE: If `spring.cloud.config.server.accept-empty` is `false` and the health indicator check returns
does not return any repository data the health indicator will return `DOWN` status.