Commit a2a6a5ca authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'zj-find-license-opt-out' into 'master'

Move FindLicense RPC to OPT OUT status

See merge request gitlab-org/gitlab-ce!18228
parents fb0bb32f 4ca00b52
---
title: Detect repository license on Gitaly by default
merge_request:
author:
type: performance
......@@ -1045,7 +1045,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