Though style is subjective it depends on a ruthless objectivity: you either have it, or you don't·
This commit is contained in:
@@ -232,7 +232,7 @@ class PerDestinationQueue(object):
|
||||
# If there is no span context then we are either blacklisting
|
||||
# this destination or we are not tracing
|
||||
if not span_context == {}:
|
||||
if not "references" in span_context:
|
||||
if "references" not in span_context:
|
||||
span_context["references"] = [
|
||||
opentracing.active_span_context_as_string()
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user