mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix(scripts/test-cluster): fix backwards logic on peers add
This commit is contained in:
parent
63fa35c99f
commit
3d9fc3846c
@ -17,7 +17,7 @@ tmux split-window -h
|
||||
tmux select-pane -t 0
|
||||
tmux send-keys "${DIR}/../bin/etcd -peer-addr 127.0.0.1:7001 -addr 127.0.0.1:4001 -data-dir peer1 -name peer1 ${peer_args}" C-m
|
||||
|
||||
if [ -n "${peer_args}" ]; then
|
||||
if [ -z "${peer_args}" ]; then
|
||||
peer_args="-peers 127.0.0.1:7001"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user