Fix lua lint
This commit is contained in:
parent
1f3da80d4e
commit
926b757c97
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue