Commit 536b32c8 authored by Kim Carlbäcker's avatar Kim Carlbäcker

Make Repo#squash_in_progress Opt-Out

parent b884cfc6
...@@ -1334,7 +1334,7 @@ module Gitlab ...@@ -1334,7 +1334,7 @@ module Gitlab
end end
def squash_in_progress?(squash_id) def squash_in_progress?(squash_id)
gitaly_migrate(:squash_in_progress) do |is_enabled| gitaly_migrate(:squash_in_progress, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled|
if is_enabled if is_enabled
gitaly_repository_client.squash_in_progress?(squash_id) gitaly_repository_client.squash_in_progress?(squash_id)
else else
......
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