diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-03-06 17:44:30 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-03-07 16:52:57 +0300 |
commit | 4604e2c6db8e734360bcf34c9f5da1c9d425d2b8 (patch) | |
tree | e5c31a03ceab073c26f10e912f6b7d5fa2a27cac /lib | |
parent | 1985300134c0744f8a00c7a6d5cdba008d970479 (diff) |
Move RefService#DeleteBranch to OPT_OUT
Part of: gitlab-org/gitaly#546
Diffstat (limited to 'lib')
-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 22cba1c65d6..e6e77a86298 100644 --- a/lib/gitlab/git/repository.rb +++ b/lib/gitlab/git/repository.rb @@ -876,7 +876,7 @@ module Gitlab # Delete the specified branch from the repository def delete_branch(branch_name) - gitaly_migrate(:delete_branch) do |is_enabled| + gitaly_migrate(:delete_branch, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled| if is_enabled gitaly_ref_client.delete_branch(branch_name) else |