This is an automated email from the ASF dual-hosted git repository.
wenming 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 82628f0 fix: min_etcd_version is a nil value when apisix init_etcd
(#2831)
82628f0 is described below
commit 82628f076b9124bf8825b321394f813c7785ef78
Author: Liu Hong <[email protected]>
AuthorDate: Tue Nov 24 15:14:32 2020 +0800
fix: min_etcd_version is a nil value when apisix init_etcd (#2831)
Signed-off-by: liuhong <[email protected]>
---
bin/apisix | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/apisix b/bin/apisix
index d94ab03..c2de2b5 100755
--- a/bin/apisix
+++ b/bin/apisix
@@ -597,7 +597,7 @@ local function init_etcd(show_output)
if compare_semantic_version(cluster_version, env.min_etcd_version) then
io.stderr:write("etcd cluster version ".. cluster_version ..
- " is less than the required version "..
min_etcd_version ..
+ " is less than the required version "..
env.min_etcd_version ..
", please upgrade your etcd cluster\n")
os.exit(1)
end