Commit 36fae09d authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix EE codebase after refactoring github repository import

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 1c1d4a2f
......@@ -46,3 +46,5 @@ module Import
end
end
end
Import::GithubService.prepend(EE::Import::GithubService)
......@@ -5,9 +5,9 @@ module EE
module GithubController
extend ::Gitlab::Utils::Override
override :extra_project_attrs
def extra_project_attrs
super.merge(ci_cd_only: params[:ci_cd_only])
override :permitted_import_params
def permitted_import_params
super.push(:ci_cd_only)
end
override :extra_import_params
......
# frozen_string_literal: true
module EE
module Import
module GithubService
extend ::Gitlab::Utils::Override
override :extra_project_attrs
def extra_project_attrs
super.merge(ci_cd_only: params[:ci_cd_only])
end
end
end
end
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