Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-10-05 16:01:26 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2017-10-05 16:01:26 +0300
commitf879c58706305600fc894e9e2ce8b972c0da1d87 (patch)
tree6fd2f5754563700bee72a4bea85a024b39dda92a /lib/gitlab/shell.rb
parent4656283c5cd10116d79812db24c37ff79b0e0273 (diff)
Fix namespace deletion tests
Diffstat (limited to 'lib/gitlab/shell.rb')
-rw-r--r--lib/gitlab/shell.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/shell.rb b/lib/gitlab/shell.rb
index 3fdf0ce1ce0..a37112ae5c4 100644
--- a/lib/gitlab/shell.rb
+++ b/lib/gitlab/shell.rb
@@ -271,6 +271,8 @@ module Gitlab
FileUtils.mv(full_path(storage, old_name), full_path(storage, new_name))
end
end
+ rescue GRPC::InvalidArgument
+ false
end
def url_to_repo(path)