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/04/11 14:07:10 UTC
[skywalking-nginx-lua] branch master updated: remove first ref
variable (#34)
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 9c0f664 remove first ref variable (#34)
9c0f664 is described below
commit 9c0f664fa1620cc306aae43a65ac3652e7c8d8c7
Author: mrproliu <74...@qq.com>
AuthorDate: Sat Apr 11 22:07:01 2020 +0800
remove first ref variable (#34)
Co-authored-by: Mrproliu <mr...@lagou.com>
---
lib/skywalking/tracing_context.lua | 3 ---
1 file changed, 3 deletions(-)
diff --git a/lib/skywalking/tracing_context.lua b/lib/skywalking/tracing_context.lua
index 3a0dac2..3c835bd 100644
--- a/lib/skywalking/tracing_context.lua
+++ b/lib/skywalking/tracing_context.lua
@@ -29,8 +29,6 @@ local Internal = {}
-- owner,
-- -- The first created span.
-- first_span,
--- -- The first ref injected in this context
--- first_ref,
-- -- Created span and still active
-- active_spans,
-- active_count,
@@ -44,7 +42,6 @@ local function addRefIfFirst(internal, ref)
if internal.self_generated_trace_id == true then
internal.self_generated_trace_id = false
internal.owner.trace_id = ref.trace_id
- internal.first_ref = ref
end
end