Skip to content

Commit e1f585c

Browse files
committed
squash: delayed job
1 parent c681511 commit e1f585c

File tree

1 file changed

+2
-2
lines changed
  • instrumentation/delayed_job/lib/opentelemetry/instrumentation/delayed_job/plugins

1 file changed

+2
-2
lines changed

instrumentation/delayed_job/lib/opentelemetry/instrumentation/delayed_job/plugins/tracer_plugin.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module Plugins
1313
# Delayed Job plugin that instruments invoke_job and other hooks
1414
class TracerPlugin < Delayed::Plugin
1515
class << self
16-
def instrument_enqueue(job, &block)
16+
def instrument_enqueue(job, &)
1717
return yield(job) unless enabled?
1818

1919
attributes = build_attributes(job)
@@ -27,7 +27,7 @@ def instrument_enqueue(job, &block)
2727
end
2828
end
2929

30-
def instrument_invoke(job, &block)
30+
def instrument_invoke(job, &)
3131
return yield(job) unless enabled?
3232

3333
attributes = build_attributes(job)

0 commit comments

Comments
 (0)