2018-09-14 05:42:05 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-05-09 23:21:22 +00:00
|
|
|
class Admin::HealthCheckController < Admin::ApplicationController
|
2022-04-05 12:10:23 +00:00
|
|
|
feature_category :not_owned # rubocop:todo Gitlab/AvoidFeatureCategoryNotOwned
|
2020-10-05 21:08:47 +00:00
|
|
|
|
2016-05-09 23:21:22 +00:00
|
|
|
def show
|
2018-12-17 16:44:00 +00:00
|
|
|
@errors = HealthCheck::Utils.process_checks(checks)
|
|
|
|
end
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def checks
|
|
|
|
['standard']
|
2016-05-09 23:21:22 +00:00
|
|
|
end
|
|
|
|
end
|
2019-09-13 13:26:31 +00:00
|
|
|
|
2021-05-11 21:10:21 +00:00
|
|
|
Admin::HealthCheckController.prepend_mod_with('Admin::HealthCheckController')
|