Skip to content

Commit

Permalink
Merge pull request #347 from xstefank/health-2.1-qs-update
Browse files Browse the repository at this point in the history
Update Health quickstart to utilize MP Health 2.1 features
  • Loading branch information
gsmet authored Nov 1, 2019
2 parents 0bbae8c + 55c9b08 commit cfcb56a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

0 comments on commit cfcb56a

Please sign in to comment.