Skip to content

Commit

Permalink
4.x - Archetype: Remove unused config property from generated code (h…
Browse files Browse the repository at this point in the history
  • Loading branch information
tvallin authored and barchetta committed Jul 15, 2024
1 parent 328b92f commit ff921cf
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,12 @@ docker run --rm --name mongo -p 27017:27017 mongo
<value>io.helidon.dbclient.health.DbClientHealthCheck</value>
</list>
<list key="Main-main">
<value><![CDATA[
ObserveFeature observe = ObserveFeature.builder()
.config(config.get("server.features.observe"))
.addObserver(HealthObserver.builder()
.addCheck(DbClientHealthCheck.create(dbClient, config.get("db.health-check")))
.build())
.build();
]]></value>
<value><![CDATA[ObserveFeature observe = ObserveFeature.builder()
.addObserver(HealthObserver.builder()
.addCheck(DbClientHealthCheck.create(dbClient, config.get("db.health-check")))
.build())
.build();]]>
</value>
</list>
<list key="Main-server-builder">
<value>.addFeature(observe)</value>
Expand Down

0 comments on commit ff921cf

Please sign in to comment.