openresty / lua-resty-upstream-healthcheck

Health Checker for Nginx Upstream Servers in Pure Lua
521 stars 134 forks source link

Mistake shadowing variable #58

Closed mingodad closed 5 years ago

mingodad commented 5 years ago

Hello ! Doing the conversion of openresty to use https://github.com/mingodad/ljsjit I found what seems to be a mistake of redeclaring a variable. Looking at the code it seems that the intention is to use an already declared variable and refer to it afterwards. Cheers !

agentzh commented 5 years ago

@thibaultcha Will you please take care of this one? Many thanks!

thibaultcha commented 5 years ago

Just opened #59 which comes with a test case and additional fixes. Thanks @mingodad.