Commit 113d9d64 authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

Move CommitService#Languages to OPT_OUT

Part of: gitlab-org/gitlab-ce!17561
parent e0931b3a
......@@ -1010,7 +1010,7 @@ module Gitlab
end
def languages(ref = nil)
Gitlab::GitalyClient.migrate(:commit_languages) do |is_enabled|
gitaly_migrate(:commit_languages, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled|
if is_enabled
gitaly_commit_client.languages(ref)
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