Double negatives do not make code that isn't unclear..
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8b53f8e9bd
commit
35eb018c02
@@ -231,7 +231,7 @@ class PerDestinationQueue(object):
|
||||
).get("opentracing", {})
|
||||
# If there is no span context then we are either blacklisting
|
||||
# this destination or we are not tracing
|
||||
if not span_context == {}:
|
||||
if span_context:
|
||||
if "references" not in span_context:
|
||||
span_context["references"] = [
|
||||
opentracing.active_span_context_as_string()
|
||||
|
||||
Reference in New Issue
Block a user