File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -183,19 +183,19 @@ def start_child(self, **kwargs):
183
183
"""
184
184
kwargs .setdefault ("sampled" , self .sampled )
185
185
186
- rv = Span (
186
+ child = Span (
187
187
trace_id = self .trace_id , span_id = None , parent_span_id = self .span_id , ** kwargs
188
188
)
189
189
190
190
if isinstance (self , Transaction ):
191
- rv ._containing_transaction = self
191
+ child ._containing_transaction = self
192
192
else :
193
- rv ._containing_transaction = self ._containing_transaction
193
+ child ._containing_transaction = self ._containing_transaction
194
194
195
- rv ._span_recorder = recorder = self ._span_recorder
195
+ child ._span_recorder = recorder = self ._span_recorder
196
196
if recorder :
197
- recorder .add (rv )
198
- return rv
197
+ recorder .add (child )
198
+ return child
199
199
200
200
def new_span (self , ** kwargs ):
201
201
# type: (**Any) -> Span
You can’t perform that action at this time.
0 commit comments