When accept-empty is false, make health indicator DOWN (#2756)
Fixes #2749
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user