Added ZONE variable to the info string which informs what provider is being used

Fixed unbound ZONE variable issue for kube-up.sh

Added curlys
This commit is contained in:
golvteppe 2016-02-10 18:40:13 +01:00
parent 2172e0dea0
commit 62292341ff

View File

@ -34,7 +34,12 @@ fi
source "${KUBE_ROOT}/cluster/kube-env.sh"
source "${KUBE_ROOT}/cluster/kube-util.sh"
echo "... Starting cluster using provider: $KUBERNETES_PROVIDER" >&2
if [ -z "${ZONE-}" ]; then
echo "... Starting cluster using provider: ${KUBERNETES_PROVIDER}" >&2
else
echo "... Starting cluster in ${ZONE} using provider ${KUBERNETES_PROVIDER}" >&2
fi
echo "... calling verify-prereqs" >&2
verify-prereqs