diff options
author | Andrew Newdigate <andrew@gitlab.com> | 2017-10-26 12:52:52 +0300 |
---|---|---|
committer | Andrew Newdigate <andrew@gitlab.com> | 2017-10-26 12:52:52 +0300 |
commit | efdf51d838e68d954b0f06a6e01b11db26b9aba3 (patch) | |
tree | eb4509db32200d9fe26b8604323dd78ec243f148 /lib/gitlab/git/repository.rb | |
parent | 3ddffec0d62146e27298a982a7d2935dbe518fb9 (diff) |
Make local_branches OPT_OUT
Diffstat (limited to 'lib/gitlab/git/repository.rb')
-rw-r--r-- | lib/gitlab/git/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb index 95265b41878..408616d174b 100644 --- a/lib/gitlab/git/repository.rb +++ b/lib/gitlab/git/repository.rb @@ -166,7 +166,7 @@ module Gitlab end def local_branches(sort_by: nil) - gitaly_migrate(:local_branches) do |is_enabled| + gitaly_migrate(:local_branches, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled| if is_enabled gitaly_ref_client.local_branches(sort_by: sort_by) else |