diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-03-06 15:40:33 +0100 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-03-07 14:52:56 +0100 |
commit | 1985300134c0744f8a00c7a6d5cdba008d970479 (patch) | |
tree | f75f7b49a40b94bc30658f1045de48c98450479c | |
parent | 718011748ac0aedfe4f16bb6fa8a427d6d2a2640 (diff) | |
download | gitlab-ce-1985300134c0744f8a00c7a6d5cdba008d970479.tar.gz |
Move OperationService#UserRevert to OPT_OUT
Part of: gitlab-org/gitaly#779
-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 630f20eb07b..22cba1c65d6 100644 --- a/lib/gitlab/git/repository.rb +++ b/lib/gitlab/git/repository.rb @@ -810,7 +810,7 @@ module Gitlab end def revert(user:, commit:, branch_name:, message:, start_branch_name:, start_repository:) - gitaly_migrate(:revert) do |is_enabled| + gitaly_migrate(:revert, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled| args = { user: user, commit: commit, |