From 6e9351aa5a5e0c01ee6f18313c9b67ad7f3a3eff Mon Sep 17 00:00:00 2001 From: Kayla Reopelle Date: Wed, 18 Dec 2024 16:13:36 -0800 Subject: [PATCH] Rubocop --- lib/new_relic/agent/instrumentation/resque.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/new_relic/agent/instrumentation/resque.rb b/lib/new_relic/agent/instrumentation/resque.rb index 9d8181e7b5..7f555fce12 100644 --- a/lib/new_relic/agent/instrumentation/resque.rb +++ b/lib/new_relic/agent/instrumentation/resque.rb @@ -20,12 +20,12 @@ executes do if NewRelic::Agent.config[:'resque.use_ruby_dns'] && - NewRelic::Agent.config[:dispatcher] == :resque && - # resolv-replace is no longer part of the language in Ruby 3.4. - # we don't believe this lib still necessary for Ruby 3.4 users. - # however, if we receive customer feedback to the contrary, we can find - # an alternate approach. - Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.4') + NewRelic::Agent.config[:dispatcher] == :resque && + # resolv-replace is no longer part of the language in Ruby 3.4. + # we don't believe this lib is still necessary for Ruby 3.4 users. + # however, if we receive customer feedback to the contrary, we can find + # an alternate approach. + Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.4') NewRelic::Agent.logger.info('Requiring resolv-replace') require 'resolv' require 'resolv-replace'