Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-12-18 16:24:37 +0300
committerLin Jen-Shin <godfat@godfat.org>2018-12-18 16:24:37 +0300
commitda54f81bc0038cb06c208a9b7c00a6ca3d4c4900 (patch)
tree7225b6ef3157206beaa8a53e6e0e6dfa66d40ecd /app
parentaa2c729e8e90968419d59281c0e6021f77877060 (diff)
parent8d3dc32438924fc248859a8ca5ecf8788d264283 (diff)
Merge branch 'ce-6635-extract-ee-specific-files-lines-for-app-controllers-admin-health_check_controller-rb' into 'master'
Make Admin::HealthCheckController EE-compatible See merge request gitlab-org/gitlab-ce!23879
Diffstat (limited to 'app')
-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