lib/opentracing/instrumentation/hutch/consume_tracer.rb in opentracing-instrumentation-0.1.5 vs lib/opentracing/instrumentation/hutch/consume_tracer.rb in opentracing-instrumentation-0.1.6
- old
+ new
@@ -70,10 +70,10 @@
message,
)
end
def build_references(headers)
- return [] if headers.nil?
+ return if headers.nil?
span_context = tracer.extract(
OpenTracing::FORMAT_TEXT_MAP,
headers,
)