fix tcp 502 error for parse tcp backend data

This commit is contained in:
lijie 2023-06-14 09:59:48 +08:00 committed by GitHub
parent f828fc0125
commit f2b4cdb4a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)