Commit 1f28f456 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Fix a typo? gitaly_operation{-s-}_client

parent f5f5a4e6
...@@ -627,7 +627,7 @@ module Gitlab ...@@ -627,7 +627,7 @@ module Gitlab
def update_branch(branch_name, user:, newrev:, oldrev:) def update_branch(branch_name, user:, newrev:, oldrev:)
gitaly_migrate(:operation_user_update_branch) do |is_enabled| gitaly_migrate(:operation_user_update_branch) do |is_enabled|
if is_enabled if is_enabled
gitaly_operations_client.user_update_branch(branch_name, user, newrev, oldrev) gitaly_operation_client.user_update_branch(branch_name, user, newrev, oldrev)
else else
OperationService.new(user, self).update_branch(branch_name, newrev, oldrev) OperationService.new(user, self).update_branch(branch_name, newrev, oldrev)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment