Skip to content

Commit

Permalink
fix: cli test invalid etcd (apache#2544)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 authored Jul 27, 2022
1 parent 1a7f291 commit 0b98833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/test/shell/cli_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b98833

Please sign in to comment.