Though style is subjective it depends on a ruthless objectivity: you either have it, or you don't·

This commit is contained in:
Jorik Schellekens 2019-07-17 14:00:22 +01:00
parent d44f303fe0
commit a293759d8c

View file

@ -232,7 +232,7 @@ class PerDestinationQueue(object):
# If there is no span context then we are either blacklisting # If there is no span context then we are either blacklisting
# this destination or we are not tracing # this destination or we are not tracing
if not span_context == {}: if not span_context == {}:
if not "references" in span_context: if "references" not in span_context:
span_context["references"] = [ span_context["references"] = [
opentracing.active_span_context_as_string() opentracing.active_span_context_as_string()
] ]