mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-14 00:41:35 +08:00
bugfix: fix typo of instance_id
in skywalking plugin. (#1629)
This commit is contained in:
parent
39ef6fb2eb
commit
25e608c946
@ -36,7 +36,7 @@ function _M.start(ctx, endpoint, upstream_name)
|
||||
local instance_id = tracing_buffer:get(endpoint .. '_instance_id')
|
||||
local service_id = tracing_buffer:get(endpoint .. '_service_id')
|
||||
|
||||
if service_id and service_id then
|
||||
if service_id and instance_id then
|
||||
context = tracing_context.new(service_id, instance_id)
|
||||
else
|
||||
context = tracing_context.newNoOP()
|
||||
|
Loading…
Reference in New Issue
Block a user