Commit a96a0d70 authored by Stan Hu's avatar Stan Hu
Browse files

Merge branch 'opt-in-gitaly' into '10-2-stable'

Opt in gitaly

See merge request gitlab-org/gitlab-ce!15522
......@@ -167,7 +167,7 @@ def find_branch(name, force_reload = false)
end
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)
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