Skip to content

Commit f5f1e85

Browse files
committed
format
1 parent f9d63db commit f5f1e85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

datadog_lambda/cold_start.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ def trace(self, root_nodes: List[ImportNode] = root_nodes):
153153
if not root_nodes:
154154
return
155155
cold_start_span_start_time_ns = root_nodes[0].start_time_ns
156-
cold_start_span_end_time_ns = min(root_nodes[-1].end_time_ns, self.current_span_start_time_ns)
156+
cold_start_span_end_time_ns = min(
157+
root_nodes[-1].end_time_ns, self.current_span_start_time_ns
158+
)
157159
cold_start_span = self.create_cold_start_span(cold_start_span_start_time_ns)
158160
while root_nodes:
159161
root_node = root_nodes.pop()

0 commit comments

Comments
 (0)