Skip to content

Commit

Permalink
use method instead of instance variable
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Jun 28, 2024
1 parent 964bb8c commit 1fc79e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datadog/core/telemetry/worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def dequeue
end

def work_pending?
@run_loop || !buffer.empty?
run_loop? || !buffer.empty?
end

def buffer_klass
Expand Down

0 comments on commit 1fc79e4

Please sign in to comment.