From a264991dfea1e3a6c374ad3ed5ff39204e7b8976 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Mon, 29 Jan 2018 11:14:52 -0500 Subject: [PATCH] fix parameter advertise_address should be --advertise-address --- hack/local-up-cluster.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index 0d48496d47..54e9cee2ff 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -496,10 +496,10 @@ function start_apiserver { # is set to 127.0.0.1 advertise_address="" if [[ "${API_HOST_IP}" != "127.0.0.1" ]]; then - advertise_address="--advertise_address=${API_HOST_IP}" + advertise_address="--advertise-address=${API_HOST_IP}" fi if [[ "${ADVERTISE_ADDRESS}" != "" ]] ; then - advertise_address="--advertise_address=${ADVERTISE_ADDRESS}" + advertise_address="--advertise-address=${ADVERTISE_ADDRESS}" fi # Create CA signers