Skip to content

Commit

Permalink
bugfix:zipkin plugin not set tracing data to request header. (#715)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyyoung authored and moonming committed Oct 30, 2019
1 parent 6f110bf commit ce403db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/apisix/plugins/zipkin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function _M.access(conf, ctx)
local outgoing_headers = {}
tracer:inject(opentracing.proxy_span, "http_headers", outgoing_headers)
for k, v in pairs(outgoing_headers) do
core.response.set_header(k, v)
core.request.set_header(k, v)
end
end

Expand Down

0 comments on commit ce403db

Please sign in to comment.