Commit 5e8ddd3c authored by Douwe Maan's avatar Douwe Maan

Remove unused variable in repository import

parent 5036d8d5
...@@ -16,7 +16,7 @@ class RepositoryImportWorker ...@@ -16,7 +16,7 @@ class RepositoryImportWorker
end end
else else
begin begin
import_result = gitlab_shell.import_repository(project.path_with_namespace, project.import_url) gitlab_shell.import_repository(project.path_with_namespace, project.import_url)
rescue Gitlab::Shell::Error => e rescue Gitlab::Shell::Error => e
project.update(import_error: e.message) project.update(import_error: e.message)
project.import_fail project.import_fail
......
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