mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Use -addr in start_etcd instead of -bind-addr
This commit is contained in:
parent
d6dee3cad5
commit
9fece09f26
@ -59,8 +59,8 @@ function start_etcd {
|
||||
|
||||
# Start etcd
|
||||
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=$!
|
||||
|
||||
wait_for_url "http://localhost:4001/v2/keys/" "etcd: "
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user