summaryrefslogtreecommitdiff
path: root/lib/gitlab/shell.rb
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2017-10-05 15:01:26 +0200
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2017-10-05 15:01:26 +0200
commitf879c58706305600fc894e9e2ce8b972c0da1d87 (patch)
tree6fd2f5754563700bee72a4bea85a024b39dda92a /lib/gitlab/shell.rb
parent4656283c5cd10116d79812db24c37ff79b0e0273 (diff)
downloadgitlab-ce-f879c58706305600fc894e9e2ce8b972c0da1d87.tar.gz
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)