Commit d42857ce authored by Michael Kozono's avatar Michael Kozono

Run Geo check from GitLab check if enabled

parent 6ea9323e
---
title: Run geo check task from gitlab check
merge_request: 8616
author:
type: changed
# frozen_string_literal: true
module EE
module SystemCheck
module RakeTask
module GitlabTask
extend ActiveSupport::Concern
class_methods do
extend ::Gitlab::Utils::Override
override :subtasks
def subtasks
existing = super
existing << ::SystemCheck::RakeTask::GeoTask if ::Gitlab::Geo.enabled?
existing
end
end
end
end
end
end
......@@ -31,3 +31,5 @@ module SystemCheck
end
end
end
SystemCheck::RakeTask::GitlabTask.prepend(EE::SystemCheck::RakeTask::GitlabTask)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment