fix parameter advertise_address should be --advertise-address

pull/6/head
Davanum Srinivas 2018-01-29 11:14:52 -05:00
parent 480327eafe
commit a264991dfe
1 changed files with 2 additions and 2 deletions

View File

@ -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