You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ch...@apache.org on 2020/05/14 15:29:20 UTC
[incubator-apisix] branch master updated: bugfix: incorrect
variable name `hostCount` (#1585)
This is an automated email from the ASF dual-hosted git repository.
chenjunxu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 3906545 bugfix: incorrect variable name `hostCount` (#1585)
3906545 is described below
commit 3906545ac546728ea2601c485151914a7ec9bbee
Author: dengliming <li...@gmail.com>
AuthorDate: Thu May 14 23:29:11 2020 +0800
bugfix: incorrect variable name `hostCount` (#1585)
---
bin/apisix | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/apisix b/bin/apisix
index 1659de2..506af06 100755
--- a/bin/apisix
+++ b/bin/apisix
@@ -786,7 +786,7 @@ local function init_etcd(show_output)
if not res:find("index", 1, true)
and not res:find("createdIndex", 1, true) then
is_success = false
- if (index == hostCount) then
+ if (index == host_count) then
error(cmd .. "\n" .. res)
end
break