Fix lua lint

This commit is contained in:
Ricardo Katz 2024-10-29 09:04:36 -03:00
parent 1f3da80d4e
commit 926b757c97

View file

@ -6,7 +6,9 @@ local ipairs = ipairs
local ngx_log = ngx.log local ngx_log = ngx.log
local ngx_ERR = ngx.ERR local ngx_ERR = ngx.ERR
local res = ngx.location.capture(auth_path, { method = ngx.HTTP_GET, body = '', share_all_vars = auth_keepalive_share_vars }) local res = ngx.location.capture(auth_path, {
method = ngx.HTTP_GET, body = '',
share_all_vars = auth_keepalive_share_vars })
if res.status == ngx.HTTP_OK then if res.status == ngx.HTTP_OK then
local header_parts, err = ngx_re_split(auth_response_headers, ",") local header_parts, err = ngx_re_split(auth_response_headers, ",")
if err then if err then