Commit 72e5a499 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'gitaly-repo-exists' into 'master'

Make Gitaly RepositoryExists opt-out

See merge request gitlab-org/gitlab-ce!16680
parents d7d6bad1 9e6ce877
---
title: Make Gitaly RepositoryExists opt-out
merge_request: 16680
author:
type: other
......@@ -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
......
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