Merge branch 'zj-find-license-opt-out' into 'master'
Move FindLicense RPC to OPT OUT status See merge request gitlab-org/gitlab-ce!18228
This commit is contained in:
commit
a2a6a5cab6
2 changed files with 7 additions and 1 deletions
5
changelogs/unreleased/zj-find-license-opt-out.yml
Normal file
5
changelogs/unreleased/zj-find-license-opt-out.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Detect repository license on Gitaly by default
|
||||||
|
merge_request:
|
||||||
|
author:
|
||||||
|
type: performance
|
|
@ -1045,7 +1045,8 @@ module Gitlab
|
||||||
end
|
end
|
||||||
|
|
||||||
def license_short_name
|
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
|
if is_enabled
|
||||||
gitaly_repository_client.license_short_name
|
gitaly_repository_client.license_short_name
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue