Skip to content

Commit bdb3a23

Browse files
committed
Fixup
1 parent f4ce2ab commit bdb3a23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

newrelic/core/transaction_node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,11 +620,11 @@ def _add_call_count(source, target):
620620

621621
return intrinsics
622622

623-
def span_protos(self, settings, ct_processing_time=0):
623+
def span_protos(self, settings, ct_processing_time=None):
624624
for span in self.span_events(settings, attr_class=SpanProtoAttrs, ct_processing_time=ct_processing_time):
625625
yield Span(trace_id=self.trace_id, intrinsics=span[0], user_attributes=span[1], agent_attributes=span[2])
626626

627-
def span_events(self, settings, attr_class=dict, ct_processing_time=0):
627+
def span_events(self, settings, attr_class=dict, ct_processing_time=None):
628628
base_attrs = attr_class(
629629
(
630630
("transactionId", self.guid),

0 commit comments

Comments
 (0)