提交 9e6ce877 编写于 作者: J Jacob Vosmaer (GitLab) 提交者: Douwe Maan

Make Gitaly RepositoryExists opt-out

上级 d7d6bad1
---
title: Make Gitaly RepositoryExists opt-out
merge_request: 16680
author:
type: other
...@@ -133,7 +133,7 @@ module Gitlab ...@@ -133,7 +133,7 @@ module Gitlab
end end
def exists? def exists?
Gitlab::GitalyClient.migrate(:repository_exists) do |enabled| Gitlab::GitalyClient.migrate(:repository_exists, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |enabled|
if enabled if enabled
gitaly_repository_client.exists? gitaly_repository_client.exists?
else else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册