Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
fix(opentracing) remove references to plugin base class (#51)
Browse files Browse the repository at this point in the history
This completes the work started in #50
  • Loading branch information
locao authored and kikito committed Oct 30, 2019
1 parent 4c9d225 commit 5df8980
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions kong/plugins/zipkin/opentracing.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ if subsystem == "http" then
end

function OpenTracingHandler:access(conf)
OpenTracingHandler.super.access(self, conf)

local ctx = ngx.ctx
local opentracing = self:get_context(conf, ctx)

Expand All @@ -114,8 +112,6 @@ if subsystem == "http" then
end

function OpenTracingHandler:header_filter(conf)
OpenTracingHandler.super.header_filter(self, conf)

local ctx = ngx.ctx
local opentracing = self:get_context(conf, ctx)

Expand All @@ -135,8 +131,6 @@ if subsystem == "http" then
end

function OpenTracingHandler:body_filter(conf)
OpenTracingHandler.super.body_filter(self, conf)

local ctx = ngx.ctx
local opentracing = self:get_context(conf, ctx)

Expand Down Expand Up @@ -175,8 +169,6 @@ elseif subsystem == "stream" then
end

function OpenTracingHandler:preread(conf)
OpenTracingHandler.super.preread(self, conf)

local ctx = ngx.ctx
local opentracing = self:get_context(conf, ctx)

Expand All @@ -194,9 +186,6 @@ end

function OpenTracingHandler:log(conf)
local now = ngx.now()

OpenTracingHandler.super.log(self, conf)

local ctx = ngx.ctx
local opentracing = self:get_context(conf, ctx)
local request_span = opentracing.request_span
Expand Down

0 comments on commit 5df8980

Please sign in to comment.