mirror of https://github.com/k3s-io/k3s
Use -addr in start_etcd instead of -bind-addr
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