Commit 3ac99fb3 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'dz-fix-ee-master' into 'master'

Fix EE codebase after refactoring github repository import

Closes #9256 and #9257

See merge request gitlab-org/gitlab-ee!9211
parents 1c1d4a2f 36fae09d
...@@ -46,3 +46,5 @@ module Import ...@@ -46,3 +46,5 @@ module Import
end end
end end
end end
Import::GithubService.prepend(EE::Import::GithubService)
...@@ -5,9 +5,9 @@ module EE ...@@ -5,9 +5,9 @@ module EE
module GithubController module GithubController
extend ::Gitlab::Utils::Override extend ::Gitlab::Utils::Override
override :extra_project_attrs override :permitted_import_params
def extra_project_attrs def permitted_import_params
super.merge(ci_cd_only: params[:ci_cd_only]) super.push(:ci_cd_only)
end end
override :extra_import_params 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