Use -addr in start_etcd instead of -bind-addr

pull/6/head
David Reynolds 2014-09-30 19:32:59 -07:00
parent d6dee3cad5
commit 9fece09f26
1 changed files with 2 additions and 2 deletions

View File

@ -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: "
}
}