diff options
author | Alejandro RodrÃguez <alejorro70@gmail.com> | 2018-07-19 21:40:36 +0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejorro70@gmail.com> | 2018-07-19 22:07:37 +0300 |
commit | fa1ea656f76e5410bf6e0d214162777740e0d4e8 (patch) | |
tree | 95937fe1dafe3ee3115048b011e29b0fa5bd8a91 /app/services/projects | |
parent | b60364c0f377f4afdf5e96e84aba11988f4ae526 (diff) |
Migrate add_remote, remove_remote, fetch_internal_remote to gitaly
Diffstat (limited to 'app/services/projects')
-rw-r--r-- | app/services/projects/import_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/import_service.rb b/app/services/projects/import_service.rb index 60f400edfce..e560d40371e 100644 --- a/app/services/projects/import_service.rb +++ b/app/services/projects/import_service.rb @@ -67,7 +67,7 @@ module Projects else gitlab_shell.import_repository(project.repository_storage, project.disk_path, project.import_url) end - rescue Gitlab::Shell::Error, Gitlab::Git::RepositoryMirroring::RemoteError => e + rescue Gitlab::Shell::Error => e # Expire cache to prevent scenarios such as: # 1. First import failed, but the repo was imported successfully, so +exists?+ returns true # 2. Retried import, repo is broken or not imported but +exists?+ still returns true |