Move FindLicense RPC to OPT OUT status

Acceptance testing was successful in
https://gitlab.com/gitlab-org/gitaly/issues/1058. So this is moved to
OPT OUT.

Part of https://gitlab.com/gitlab-org/gitaly/issues/1026
This commit is contained in:
Zeger-Jan van de Weg 2018-04-06 16:13:01 +02:00
parent 997c9006d6
commit 4ca00b52cd
No known key found for this signature in database
GPG key ID: 65F6A8D64A88ABAC
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
title: Detect repository license on Gitaly by default
merge_request:
author:
type: performance

View file

@ -1036,7 +1036,8 @@ module Gitlab
end
def license_short_name
gitaly_migrate(:license_short_name) do |is_enabled|
gitaly_migrate(:license_short_name,
status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled|
if is_enabled
gitaly_repository_client.license_short_name
else