Commit 1de562b3 authored by Stan Hu's avatar Stan Hu
Browse files

Conditionally add Gitaly deprecation warnings based on ENV variable

parent 06fd01c87e30
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) {
......
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