Commit 504d4a4c authored by Stan Hu's avatar Stan Hu

Merge branch 'pks-gitaly-remove-nonexistent-repository' into 'master'

git: Fix removal of nonexistent repositories

See merge request gitlab-org/gitlab!76219
parents 15b30c75 5cd448c1
7034511c6f456177e023d7b418ceaa391deee79a 3ef55853e9e161204464868390d97d1a1577042d
...@@ -160,6 +160,8 @@ module Gitlab ...@@ -160,6 +160,8 @@ module Gitlab
wrapped_gitaly_errors do wrapped_gitaly_errors do
gitaly_repository_client.remove gitaly_repository_client.remove
end end
rescue NoRepository
nil
end end
def replicate(source_repository) def replicate(source_repository)
......
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