summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-12-17 17:44:00 +0100
committerRémy Coutable <remy@rymai.me>2018-12-17 17:44:00 +0100
commit8d3dc32438924fc248859a8ca5ecf8788d264283 (patch)
treefea482323d9b98b046da909766fdf59802723c14
parentd82b6d120eb54e389d775223b0c1615332143a42 (diff)
downloadgitlab-ce-8d3dc32438924fc248859a8ca5ecf8788d264283.tar.gz
Make Admin::HealthCheckController EE-compatible
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--app/controllers/admin/health_check_controller.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/controllers/admin/health_check_controller.rb b/app/controllers/admin/health_check_controller.rb
index 25cc241e5b0..7cd80e8b5e1 100644
--- a/app/controllers/admin/health_check_controller.rb
+++ b/app/controllers/admin/health_check_controller.rb
@@ -2,6 +2,12 @@
class Admin::HealthCheckController < Admin::ApplicationController
def show
- @errors = HealthCheck::Utils.process_checks(['standard'])
+ @errors = HealthCheck::Utils.process_checks(checks)
+ end
+
+ private
+
+ def checks
+ ['standard']
end
end