You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/03/04 01:22:23 UTC

[skywalking-nginx-lua] branch master updated: fix ExitSpan#peer bug (#12)

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

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-nginx-lua.git


The following commit(s) were added to refs/heads/master by this push:
     new 2857bf5  fix ExitSpan#peer bug (#12)
2857bf5 is described below

commit 2857bf5488278b52dc10de1564e81305d6173c64
Author: zhang-wei <pk...@outlook.com>
AuthorDate: Wed Mar 4 09:22:08 2020 +0800

    fix ExitSpan#peer bug (#12)
---
 lib/skywalking/span.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/skywalking/span.lua b/lib/skywalking/span.lua
index 6c5d06a..cd5ab4c 100644
--- a/lib/skywalking/span.lua
+++ b/lib/skywalking/span.lua
@@ -97,7 +97,7 @@ function Span:createExitSpan(operationName, context, parent, peer, contextCarrie
         injectableRef.segment_id = context.segment_id
         injectableRef.span_id = span.span_id
         -- injectableRef.network_address_id wouldn't be set. Right now, there is no network_address register mechanism
-        injectableRef.network_address = '#' .. peer
+        injectableRef.network_address = peer
 
         local entryServiceInstanceId
         local entryEndpointName