Move OperationService#UserCreateBranch

Part of: gitlab-org/gitaly#476
上级 113d9d64
...@@ -715,7 +715,7 @@ module Gitlab ...@@ -715,7 +715,7 @@ module Gitlab
end end
def add_branch(branch_name, user:, target:) 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 if is_enabled
gitaly_add_branch(branch_name, user, target) gitaly_add_branch(branch_name, user, target)
else else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册