From 89d49ed9a0fd184e32b834f29a96f7b0ad5f87ea Mon Sep 17 00:00:00 2001 From: Mark Huang <8191686+wfnuser@users.noreply.github.com> Date: Fri, 27 Nov 2020 19:37:03 +0800 Subject: [PATCH] chore: lint kafka-logger (#2876) --- apisix/plugins/kafka-logger.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apisix/plugins/kafka-logger.lua b/apisix/plugins/kafka-logger.lua index e3d50ff7..d007dbf6 100644 --- a/apisix/plugins/kafka-logger.lua +++ b/apisix/plugins/kafka-logger.lua @@ -23,7 +23,7 @@ local type = type local table = table local ipairs = ipairs local plugin_name = "kafka-logger" -local stale_timer_running = false; +local stale_timer_running = false local timer_at = ngx.timer.at local tostring = tostring local ngx = ngx @@ -182,4 +182,5 @@ function _M.log(conf, ctx) log_buffer:push(entry) end + return _M