This is an automated email from the ASF dual-hosted git repository.
bzp2010 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git
The following commit(s) were added to refs/heads/master by this push:
new 0b988337 fix: cli test invalid etcd (#2544)
0b988337 is described below
commit 0b9883372351c8fa1bcec152dc8e5f4a295f08c2
Author: Zeping Bai <[email protected]>
AuthorDate: Wed Jul 27 11:40:11 2022 +0800
fix: cli test invalid etcd (#2544)
---
api/test/shell/cli_test.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/api/test/shell/cli_test.sh b/api/test/shell/cli_test.sh
index 56d783f5..39106f00 100755
--- a/api/test/shell/cli_test.sh
+++ b/api/test/shell/cli_test.sh
@@ -174,9 +174,9 @@ stop_dashboard() {
recover_conf
if [[ $KERNEL = "Darwin" ]]; then
- sed -i "" 's/127.0.0.1:2379/127.0.0.0:2379/' ${CONF_FILE}
+ sed -i "" 's/127.0.0.1:2379/0.0.0.0:0/' ${CONF_FILE}
else
- sed -i 's/127.0.0.1:2379/127.0.0.0:2379/' ${CONF_FILE}
+ sed -i 's/127.0.0.1:2379/0.0.0.0:0/' ${CONF_FILE}
fi
start_dashboard 6