aad2e06f48
Current logging tells us we've isolated the calls to about 5 call sites, now we'd like to know what is calling these methods.
9 lines
341 B
Ruby
9 lines
341 B
Ruby
if Gitlab.dev_env_or_com?
|
|
deprecator = ActiveSupport::Deprecation.new('11.0', 'GitLab')
|
|
|
|
deprecator.behavior = -> (message, callstack) {
|
|
Rails.logger.warn("#{message}: #{callstack[1..20].join}")
|
|
}
|
|
|
|
ActiveSupport::Deprecation.deprecate_methods(Gitlab::GitalyClient::StorageSettings, :legacy_disk_path, deprecator: deprecator)
|
|
end
|