This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 0cda6cb style: local var [http_statuses] redefined in apisix/init.lua
(#3015)
0cda6cb is described below
commit 0cda6cb267f135a3f40700721bfab38444f72237
Author: diaosj <[email protected]>
AuthorDate: Fri Dec 11 12:12:58 2020 +0800
style: local var [http_statuses] redefined in apisix/init.lua (#3015)
local var [http_statuses] was defined at line 686
---
apisix/init.lua | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/apisix/init.lua b/apisix/init.lua
index 30b729e..6012e52 100644
--- a/apisix/init.lua
+++ b/apisix/init.lua
@@ -698,8 +698,8 @@ local function healcheck_passive(api_ctx)
end
end
- local http_statuses = passive and passive.unhealthy and
- passive.unhealthy.http_statuses
+ http_statuses = passive and passive.unhealthy and
+ passive.unhealthy.http_statuses
core.log.info("passive.unhealthy.http_statuses: ",
core.json.delay_encode(http_statuses))
if not http_statuses then