Commit 4162faa0 authored by Robert Speicher's avatar Robert Speicher

Wrap EE-only health check config in `ee` block

parent 75295c6f
...@@ -2,7 +2,9 @@ HealthCheck.setup do |config| ...@@ -2,7 +2,9 @@ HealthCheck.setup do |config|
config.standard_checks = %w(database migrations cache) config.standard_checks = %w(database migrations cache)
config.full_checks = %w(database migrations cache) config.full_checks = %w(database migrations cache)
Gitlab.ee do
config.add_custom_check('geo') do config.add_custom_check('geo') do
Gitlab::Geo::HealthCheck.new.perform_checks Gitlab::Geo::HealthCheck.new.perform_checks
end end
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment