Move RefService#CreateBranch to OPT_OUT

Part of: gitlab-org/gitaly#540
上级 4604e2c6
...@@ -903,7 +903,7 @@ module Gitlab ...@@ -903,7 +903,7 @@ module Gitlab
# create_branch("feature") # create_branch("feature")
# create_branch("other-feature", "master") # create_branch("other-feature", "master")
def create_branch(ref, start_point = "HEAD") def create_branch(ref, start_point = "HEAD")
gitaly_migrate(:create_branch) do |is_enabled| gitaly_migrate(:create_branch, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled|
if is_enabled if is_enabled
gitaly_ref_client.create_branch(ref, start_point) gitaly_ref_client.create_branch(ref, start_point)
else else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册