diff --git a/microprofile-health-quickstart/src/main/java/org/acme/health/SimpleHealthCheck.java b/microprofile-health-quickstart/src/main/java/org/acme/health/SimpleHealthCheck.java index 0b7447a401..31a09385d1 100644 --- a/microprofile-health-quickstart/src/main/java/org/acme/health/SimpleHealthCheck.java +++ b/microprofile-health-quickstart/src/main/java/org/acme/health/SimpleHealthCheck.java @@ -12,6 +12,6 @@ public class SimpleHealthCheck implements HealthCheck { @Override public HealthCheckResponse call() { - return HealthCheckResponse.named("Simple health check").up().build(); + return HealthCheckResponse.up("Simple health check"); } }