lib/new_relic/agent/autostart.rb in newrelic_rpm-6.15.0 vs lib/new_relic/agent/autostart.rb in newrelic_rpm-7.0.0
- old
+ new
@@ -30,11 +30,10 @@
end
COMMA = ",".freeze
def denylisted_constants?
- # For backwards compatibility until :'autostart_blacklisted_constants' config option is removed
- constants = NewRelic::Agent.config[:'autostart.denylisted_constants'] << COMMA << NewRelic::Agent.config[:'autostart.blacklisted_constants']
+ constants = NewRelic::Agent.config[:'autostart.denylisted_constants']
denylisted?(constants) do |name|
constant_is_defined?(name)
end
end