summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-11-13 10:28:12 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-11-13 10:28:12 +0000
commit3eff7b67731c3c2451ec629d40ad60e68079db0f (patch)
tree237cac30266220926e2c54121528a6a2fe136762
parent95661d7b6220d6b0608f2582b3a89b5b743c1b0e (diff)
parent90d74ce2dfbb189c29ad01b8eff20ad0b9713b2c (diff)
downloadgitlab-ce-3eff7b67731c3c2451ec629d40ad60e68079db0f.tar.gz
Merge branch 'zj-move-repo-exists-opt-out' into 'master'
Repository Exists check is OPT_OUT for Gitaly See merge request gitlab-org/gitlab-ce!15287
-rw-r--r--lib/gitlab/git/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb
index 14a8d551524..cfb88a0c12b 100644
--- a/lib/gitlab/git/repository.rb
+++ b/lib/gitlab/git/repository.rb
@@ -104,7 +104,7 @@ module Gitlab
end
def exists?
- Gitlab::GitalyClient.migrate(:repository_exists) do |enabled|
+ Gitlab::GitalyClient.migrate(:repository_exists, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |enabled|
if enabled
gitaly_repository_client.exists?
else