mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-14 08:51:29 +08:00
chore: lint kafka-logger (#2876)
This commit is contained in:
parent
d7e59113d5
commit
89d49ed9a0
@ -23,7 +23,7 @@ local type = type
|
|||||||
local table = table
|
local table = table
|
||||||
local ipairs = ipairs
|
local ipairs = ipairs
|
||||||
local plugin_name = "kafka-logger"
|
local plugin_name = "kafka-logger"
|
||||||
local stale_timer_running = false;
|
local stale_timer_running = false
|
||||||
local timer_at = ngx.timer.at
|
local timer_at = ngx.timer.at
|
||||||
local tostring = tostring
|
local tostring = tostring
|
||||||
local ngx = ngx
|
local ngx = ngx
|
||||||
@ -182,4 +182,5 @@ function _M.log(conf, ctx)
|
|||||||
log_buffer:push(entry)
|
log_buffer:push(entry)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
return _M
|
return _M
|
||||||
|
Loading…
Reference in New Issue
Block a user