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

Remove unused variable in repository import

parent 5036d8d5
......@@ -16,7 +16,7 @@ class RepositoryImportWorker
end
else
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
project.update(import_error: e.message)
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