Commit 91f3930c authored by Douwe Maan's avatar Douwe Maan

Merge branch 'gitaly-wiki-get-formatted-data-opt-out' into 'master'

Move Wiki::GetFormattedData to OptOut

See merge request gitlab-org/gitlab-ce!19091
parents 68b5cd71 cb2a5410
......@@ -131,7 +131,7 @@ module Gitlab
def page_formatted_data(title:, dir: nil, version: nil)
version = version&.id
@repository.gitaly_migrate(:wiki_page_formatted_data) do |is_enabled|
@repository.gitaly_migrate(:wiki_page_formatted_data, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled|
if is_enabled
gitaly_wiki_client.get_formatted_data(title: title, dir: dir, version: version)
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