debian-mirror-gitlab/app/controllers/admin/health_check_controller.rb

18 lines
383 B
Ruby
Raw Normal View History

2018-12-05 23:21:45 +05:30
# frozen_string_literal: true
2016-06-02 11:05:42 +05:30
class Admin::HealthCheckController < Admin::ApplicationController
2022-06-21 17:19:12 +05:30
feature_category :not_owned # rubocop:todo Gitlab/AvoidFeatureCategoryNotOwned
2021-01-03 14:25:43 +05:30
2016-06-02 11:05:42 +05:30
def show
2019-02-15 15:39:39 +05:30
@errors = HealthCheck::Utils.process_checks(checks)
end
private
def checks
['standard']
2016-06-02 11:05:42 +05:30
end
end
2019-12-04 20:38:33 +05:30
2021-06-08 01:23:25 +05:30
Admin::HealthCheckController.prepend_mod_with('Admin::HealthCheckController')