Skip to content

Commit

Permalink
Fix SE Health endpoint path in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta committed Mar 29, 2024
1 parent 040533d commit 07dcc84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/java/io/helidon/docs/se/HealthSnippets.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,12 @@ void snippet_8() {
ObserveFeature observeFeature = ObserveFeature.builder()
.addObserver(HealthObserver.builder()
.useSystemServices(false)
.endpoint("/health/live") // <1>
.endpoint("/observe/health/live") // <1>
.addChecks(HealthChecks.healthChecks()) // <2>
.build())
.addObserver(HealthObserver.builder()
.useSystemServices(false)
.endpoint("/health/ready") // <3>
.endpoint("/observe/health/ready") // <3>
.addCheck(() -> HealthCheckResponse.builder() // <4>
.status(true)
.build(),
Expand Down

0 comments on commit 07dcc84

Please sign in to comment.