Skip to content

Commit

Permalink
luacheck fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mayorova committed Apr 23, 2018
1 parent 497acbe commit 904a6ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gateway/src/apicast/balancer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function _M.call(_, _, balancer)
ngx.log(ngx.ERR, 'failed to set current backend peer: ', err)
return exit_service_unavailable()
end

ngx.log(ngx.INFO, 'balancer set peer ', address, ':', port)
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ local function introspect_token(self, token)
local token_info, decode_err = cjson.decode(res.body)
if type(token_info) == 'table' then
return token_info
else
else
ngx.log(ngx.ERR, 'failed to parse token introspection response:', decode_err)
return { active = false }
end
Expand Down

0 comments on commit 904a6ee

Please sign in to comment.