Commit 99092a74 authored by Alejandro Rodríguez's avatar Alejandro Rodríguez
Browse files

Mark all gitaly features as opt-in

parent 06d6c694ba83
......@@ -167,7 +167,7 @@ def find_branch(name, force_reload = false)
def local_branches(sort_by: nil)
gitaly_migrate(:local_branches, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled|
gitaly_migrate(:local_branches) do |is_enabled|
if is_enabled
gitaly_ref_client.local_branches(sort_by: sort_by)
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