mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-03 16:04:30 +00:00
20 lines
437 B
Ruby
20 lines
437 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Admin::HealthCheckController < Admin::ApplicationController
|
|
feature_category :not_owned # rubocop:todo Gitlab/AvoidFeatureCategoryNotOwned
|
|
|
|
authorize! :read_admin_health_check, only: [:show]
|
|
|
|
def show
|
|
@errors = HealthCheck::Utils.process_checks(checks)
|
|
end
|
|
|
|
private
|
|
|
|
def checks
|
|
['standard']
|
|
end
|
|
end
|
|
|
|
Admin::HealthCheckController.prepend_mod_with('Admin::HealthCheckController')
|