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