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:
parent
997c9006d6
commit
4ca00b52cd
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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue