Skip to content
Snippets Groups Projects
Unverified Commit 790d5147 authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg
Browse files

Move OperationService#UserCreateBranch

parent 113d9d64
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -715,7 +715,7 @@ module Gitlab
end
 
def add_branch(branch_name, user:, target:)
gitaly_migrate(:operation_user_create_branch) do |is_enabled|
gitaly_migrate(:operation_user_create_branch, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled|
if is_enabled
gitaly_add_branch(branch_name, user, target)
else
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment