From 2f5930a14ab3463516fe78257dde798802add60d Mon Sep 17 00:00:00 2001 From: Koushik Reddy Gajjala <40049731+Gajjela-Koushik-Reddy@users.noreply.github.com> Date: Thu, 6 Jun 2024 00:27:39 -0700 Subject: [PATCH] Update application.yml changed the syntax as per the new documentation https://spring.io/blog/2020/03/25/liveness-and-readiness-probes-with-spring-boot --- .../configserver/src/main/resources/application.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/section6/v2-spring-cloud-config/configserver/src/main/resources/application.yml b/section6/v2-spring-cloud-config/configserver/src/main/resources/application.yml index 94d2f4ef..6ddf405c 100644 --- a/section6/v2-spring-cloud-config/configserver/src/main/resources/application.yml +++ b/section6/v2-spring-cloud-config/configserver/src/main/resources/application.yml @@ -28,9 +28,9 @@ management: exposure: include: "*" health: - readiness-state: + readinessstate: enabled: true - liveness-state: + livenessstate: enabled: true endpoint: health: