Commit 3eff7b67 authored by Sean McGivern's avatar Sean McGivern

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
parents 95661d7b 90d74ce2
......@@ -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
......
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