summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJacob Vosmaer (GitLab) <jacob@gitlab.com>2018-01-25 13:59:35 +0000
committerDouwe Maan <douwe@gitlab.com>2018-01-25 13:59:35 +0000
commit9e6ce87727848a3f745d5e8bcfcc867e652ea23d (patch)
tree96f5b1ce007f530d3dac35bb98de17b06bcbeb11 /lib
parentd7d6bad11387ecc8efadb6c94d1a94c95b63f086 (diff)
downloadgitlab-ce-9e6ce87727848a3f745d5e8bcfcc867e652ea23d.tar.gz
Make Gitaly RepositoryExists opt-out
Diffstat (limited to 'lib')
-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 d6c0980255f..6ecb3ad6c70 100644
--- a/lib/gitlab/git/repository.rb
+++ b/lib/gitlab/git/repository.rb
@@ -133,7 +133,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