Commit a264991d authored by Davanum Srinivas's avatar Davanum Srinivas

fix parameter advertise_address should be --advertise-address

parent 480327ea
...@@ -496,10 +496,10 @@ function start_apiserver { ...@@ -496,10 +496,10 @@ function start_apiserver {
# is set to 127.0.0.1 # is set to 127.0.0.1
advertise_address="" advertise_address=""
if [[ "${API_HOST_IP}" != "127.0.0.1" ]]; then if [[ "${API_HOST_IP}" != "127.0.0.1" ]]; then
advertise_address="--advertise_address=${API_HOST_IP}" advertise_address="--advertise-address=${API_HOST_IP}"
fi fi
if [[ "${ADVERTISE_ADDRESS}" != "" ]] ; then if [[ "${ADVERTISE_ADDRESS}" != "" ]] ; then
advertise_address="--advertise_address=${ADVERTISE_ADDRESS}" advertise_address="--advertise-address=${ADVERTISE_ADDRESS}"
fi fi
# Create CA signers # Create CA signers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment