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

fix(opentracing) remove references to plugin base class #51

Merged
merged 1 commit into from
Oct 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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