diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-07-06 16:21:22 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-07-11 12:22:57 +0300 |
commit | a4b6707e63ca10eb64a92d45797eaad49e9c9f46 (patch) | |
tree | d2faaa1ca8504ba7148feebba00a3f8d8218fed4 /app/controllers/import | |
parent | 85b0240c4b58a49b22c9dbff9451127ae817652a (diff) | |
download | gitlab-ce-a4b6707e63ca10eb64a92d45797eaad49e9c9f46.tar.gz |
Refactor manifest import code
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/controllers/import')
-rw-r--r-- | app/controllers/import/manifest_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/import/manifest_controller.rb b/app/controllers/import/manifest_controller.rb index 0be9cc2468f..42e661325cf 100644 --- a/app/controllers/import/manifest_controller.rb +++ b/app/controllers/import/manifest_controller.rb @@ -47,7 +47,7 @@ class Import::ManifestController < Import::BaseController project[:id] == params[:repo_id].to_i end - project = Gitlab::ManifestImport::Importer.new(repository, group, current_user).execute + project = Gitlab::ManifestImport::ProjectCreator.new(repository, group, current_user).execute if project.persisted? render json: ProjectSerializer.new.represent(project) |