fix tcp 502 error for parse tcp backend data
This commit is contained in:
parent
95ba84a69e
commit
0853562bc9
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ function _M.call()
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
_, err = cjson.decode(backends)
|
local _, err = cjson.decode(backends)
|
||||||
|
|
||||||
if err then
|
if err then
|
||||||
ngx.log(ngx.ERR, "could not parse backends data: ", err)
|
ngx.log(ngx.ERR, "could not parse backends data: ", err)
|
||||||
|
|
Loading…
Reference in a new issue