aboutsummaryrefslogtreecommitdiffstats
path: root/lib/health_checks/health_checks.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/health_checks/health_checks.rb')
-rw-r--r--lib/health_checks/health_checks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/health_checks/health_checks.rb b/lib/health_checks/health_checks.rb
index 54cb0d96b..6c98365fc 100644
--- a/lib/health_checks/health_checks.rb
+++ b/lib/health_checks/health_checks.rb
@@ -32,7 +32,7 @@ module HealthChecks
private
def assert_valid_check(check)
- check.respond_to?(:check)
+ check.respond_to?(:ok?)
end
end