From 5df898064ac8d3482a9432b095531d45672b397c Mon Sep 17 00:00:00 2001 From: Vinicius Mignot Date: Mon, 14 Oct 2019 13:18:54 -0300 Subject: [PATCH] fix(opentracing) remove references to plugin base class (#51) This completes the work started in #50 --- kong/plugins/zipkin/opentracing.lua | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/kong/plugins/zipkin/opentracing.lua b/kong/plugins/zipkin/opentracing.lua index 4630639..6616d02 100644 --- a/kong/plugins/zipkin/opentracing.lua +++ b/kong/plugins/zipkin/opentracing.lua @@ -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) @@ -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) @@ -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) @@ -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) @@ -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