Skip to content

Commit 25b52dd

Browse files
committed
better comment on span.end()
1 parent 08299da commit 25b52dd

File tree

1 file changed

+2
-2
lines changed
  • instrumentation/opentelemetry-instrumentation-pika/src/opentelemetry/instrumentation/pika

1 file changed

+2
-2
lines changed

instrumentation/opentelemetry-instrumentation-pika/src/opentelemetry/instrumentation/pika/utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ def popleft(self, *args, **kwargs):
262262
# We must end the span here, because the next place we can hook
263263
# is not the end of the user code, but only when the next message
264264
# arrives. we still set this span's context as the active context
265-
# so user code that handles this message will co child-spans of
266-
# this one.
265+
# so spans created by user code that handles this message will be
266+
# children of this one.
267267
span.end()
268268
except Exception as inst_exception: # pylint: disable=W0703
269269
_LOG.exception(inst_exception)

0 commit comments

Comments
 (0)