Commit 4ca00b52 authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

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
parent 997c9006
---
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
......
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