Skip to content

Commit

Permalink
bugfix: incorrect variable name hostCount (apache#1585)
Browse files Browse the repository at this point in the history
  • Loading branch information
dengliming authored and SaberMaster committed Jun 30, 2020
1 parent 7901a70 commit 5d97d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/apisix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d97d86

Please sign in to comment.