From f181ebc375ff6eec3cbf538d3ad0ac0cb47db0c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E6=B3=BD=E5=B9=B3?= Date: Wed, 27 Jul 2022 11:23:17 +0800 Subject: [PATCH] fix: cli test invalid etcd --- 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 56d783f5a3..39106f0050 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