Skip to content

Commit

Permalink
fix tcp 502 error for parse tcp backend data
Browse files Browse the repository at this point in the history
  • Loading branch information
lijiecm authored Jun 14, 2023
1 parent f828fc0 commit f2b4cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/etc/nginx/lua/tcp_udp_configuration.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function _M.call()
return
end

_, err = cjson.decode(backends)
local _, err = cjson.decode(backends)

if err then
ngx.log(ngx.ERR, "could not parse backends data: ", err)
Expand Down

0 comments on commit f2b4cdb

Please sign in to comment.