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 k8s-infra-cherrypick-robot
parent 95ba84a69e
commit 0853562bc9

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)