summaryrefslogtreecommitdiff
path: root/lib/gitlab/health_checks/probes
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/health_checks/probes')
-rw-r--r--lib/gitlab/health_checks/probes/collection.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/health_checks/probes/collection.rb b/lib/gitlab/health_checks/probes/collection.rb
index 08b6d82291e..b34e4273d85 100644
--- a/lib/gitlab/health_checks/probes/collection.rb
+++ b/lib/gitlab/health_checks/probes/collection.rb
@@ -48,6 +48,7 @@ module Gitlab
def probe_readiness
checks
+ .select(&:available?)
.flat_map(&:readiness)
.compact
.group_by(&:name)