Conditionally add Gitaly deprecation warnings based on ENV variable
This commit is contained in:
parent
357aaafb73
commit
90100c2661
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
if Gitlab.dev_env_or_com?
|
||||
if Rails.env.development? || ENV['GITLAB_LEGACY_PATH_LOG_MESSAGE']
|
||||
deprecator = ActiveSupport::Deprecation.new('11.0', 'GitLab')
|
||||
|
||||
deprecator.behavior = -> (message, callstack) {
|
||||
|
|
Loading…
Reference in a new issue