mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
Use -addr in start_etcd instead of -bind-addr
This commit is contained in:
parent
d6dee3cad5
commit
9fece09f26
@ -59,7 +59,7 @@ function start_etcd {
|
|||||||
|
|
||||||
# Start etcd
|
# Start etcd
|
||||||
export ETCD_DIR=$(mktemp -d -t test-etcd.XXXXXX)
|
export ETCD_DIR=$(mktemp -d -t test-etcd.XXXXXX)
|
||||||
etcd -name test -data-dir ${ETCD_DIR} -bind-addr ${host}:${port} >/dev/null 2>/dev/null &
|
etcd -name test -data-dir ${ETCD_DIR} -addr ${host}:${port} >/dev/null 2>/dev/null &
|
||||||
export ETCD_PID=$!
|
export ETCD_PID=$!
|
||||||
|
|
||||||
wait_for_url "http://localhost:4001/v2/keys/" "etcd: "
|
wait_for_url "http://localhost:4001/v2/keys/" "etcd: "
|
||||||
|
Loading…
Reference in New Issue
Block a user