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