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 Jul 15, 2024
1 parent 5a54e24 commit c00a37a
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 c00a37a

Please sign in to comment.