You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2020/06/15 05:22:33 UTC

[skywalking-python] branch bugfix/wrong-span-op created (now 2d3b5c0)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a change to branch bugfix/wrong-span-op
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git.


      at 2d3b5c0  Fix wrong operation in the inject method

This branch includes the following new commits:

     new 2d3b5c0  Fix wrong operation in the inject method

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[skywalking-python] 01/01: Fix wrong operation in the inject method

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch bugfix/wrong-span-op
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git

commit 2d3b5c04355618bcdfc22225caf1e91b0560565e
Author: kezhenxu94 <ke...@163.com>
AuthorDate: Mon Jun 15 13:22:25 2020 +0800

    Fix wrong operation in the inject method
---
 skywalking/trace/span/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/skywalking/trace/span/__init__.py b/skywalking/trace/span/__init__.py
index da243d0..e448424 100644
--- a/skywalking/trace/span/__init__.py
+++ b/skywalking/trace/span/__init__.py
@@ -206,7 +206,7 @@ class ExitSpan(StackedSpan):
         carrier.span_id = self.sid
         carrier.service = config.service_name
         carrier.service_instance = config.service_instance
-        carrier.endpoint = self.context.spans[0].op
+        carrier.endpoint = self.op
         carrier.client_address = self.peer
         return self