From 54bf48220a3ae608021eaa2e6ff0b0846979d593 Mon Sep 17 00:00:00 2001 From: bcronin Date: Mon, 18 Apr 2016 16:41:41 -0700 Subject: [PATCH] Remove now unused variable --- lib/lightstep/tracer/client_tracer.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/lightstep/tracer/client_tracer.rb b/lib/lightstep/tracer/client_tracer.rb index 6f9df48..3ec6a3c 100644 --- a/lib/lightstep/tracer/client_tracer.rb +++ b/lib/lightstep/tracer/client_tracer.rb @@ -48,10 +48,7 @@ class ClientTracer # Internal debugging flag that enables additional logging and # tracer checks. Not intended to run in production as it may add # logging "noise" to the calling code. - verbose: 0, - - # Flag intended solely to unit testing convenience - debug_disable_flush: false + verbose: 0 } # Modify some of the interdependent defaults based on what the user-specified @@ -164,9 +161,6 @@ class ClientTracer return if @tracer_log_records.empty? && @tracer_span_records.empty? - # For unit testing - return if @tracer_options[:debug_disable_flush] - @tracer_transport.ensure_connection(@tracer_options) # Ensure the log / span GUIDs are set correctly. This is covers a real