Skip to content

Commit

Permalink
Remove unnecessary GreetingsProvider from example custom liveness hea…
Browse files Browse the repository at this point in the history
…lth check (#8184)
  • Loading branch information
Captain1653 authored Jan 16, 2024
1 parent 224f99d commit bd1c11f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/src/main/asciidoc/mp/guides/health.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2019, 2023 Oracle and/or its affiliates.
Copyright (c) 2019, 2024 Oracle and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -133,7 +133,6 @@ import org.eclipse.microprofile.health.Liveness;
@Liveness // <1>
@ApplicationScoped // <2>
public class GreetLivenessCheck implements HealthCheck {
private GreetingProvider provider;
@Override
public HealthCheckResponse call() {
Expand Down

0 comments on commit bd1c11f

Please sign in to comment.