Commit 2cdbfef1 authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

Move Repository#HasLocalBranches to OPT_OUT

Part of gitlab-org/gitaly#616
parent 0649a1f8
---
title: Move Ruby endpoints to OPT_OUT
merge_request:
author:
type: other
...@@ -228,7 +228,7 @@ module Gitlab ...@@ -228,7 +228,7 @@ module Gitlab
end end
def has_local_branches? def has_local_branches?
gitaly_migrate(:has_local_branches) do |is_enabled| gitaly_migrate(:has_local_branches, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled|
if is_enabled if is_enabled
gitaly_repository_client.has_local_branches? gitaly_repository_client.has_local_branches?
else 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