Skip to content

Commit

Permalink
removed useless code.
Browse files Browse the repository at this point in the history
  • Loading branch information
moonming committed Jul 24, 2019
1 parent f320526 commit 1082f94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 42 deletions.
2 changes: 1 addition & 1 deletion lua/apisix/plugins/zipkin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ end


local function create_tracer(conf)
local tracer = new_tracer(new_reporter(conf), new_random_sampler(conf))
local tracer = new_tracer(new_reporter(conf), new_random_sampler(conf))
tracer:register_injector("http_headers", zipkin_codec.new_injector())
tracer:register_extractor("http_headers", zipkin_codec.new_extractor())
return tracer
Expand Down
41 changes: 0 additions & 41 deletions lua/apisix/plugins/zipkin/handler.lua

This file was deleted.

0 comments on commit 1082f94

Please sign in to comment.