未验证 提交 9c0f664f 编写于 作者: 静夜思朝颜's avatar 静夜思朝颜 提交者: GitHub

remove first ref variable (#34)

Co-authored-by: NMrproliu <mrproliu@lagou.com>
上级 45cf6464
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册