gitlab-org--gitlab-foss/app/controllers/admin/health_check_controller.rb

17 lines
383 B
Ruby

# frozen_string_literal: true
class Admin::HealthCheckController < Admin::ApplicationController
feature_category :not_owned # rubocop:todo Gitlab/AvoidFeatureCategoryNotOwned
def show
@errors = HealthCheck::Utils.process_checks(checks)
end
private
def checks
['standard']
end
end
Admin::HealthCheckController.prepend_mod_with('Admin::HealthCheckController')