Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <git@zjvandeweg.nl>2018-03-06 17:55:06 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2018-03-07 16:52:57 +0300
commit113d9d6475fa8632526eb7f2af5ee6079ba60283 (patch)
treef39896c9b51931a0d849e6e0b29d07263a745ad1
parente0931b3af163c35d511aabacdba6ed3fe021acec (diff)
Move CommitService#Languages to OPT_OUT
Part of: gitlab-org/gitlab-ce!17561
-rw-r--r--lib/gitlab/git/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/repository.rb b/lib/gitlab/git/repository.rb
index b8426ca2ad3..7f0ffdcf54f 100644
--- a/lib/gitlab/git/repository.rb
+++ b/lib/gitlab/git/repository.rb
@@ -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