Fix e2e-suite/certs.sh unbound variables

Fixes e2e failure on GCE
This commit is contained in:
Zach Loafman 2014-12-07 16:31:29 -08:00
parent 3910b2d6e1
commit 3afcebecca

View File

@ -21,7 +21,11 @@ set -o errexit
set -o nounset set -o nounset
set -o pipefail set -o pipefail
if [[ "$KUBERNETES_PROVIDER" != "gce" ]]; then KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../..
source "${KUBE_ROOT}/cluster/kube-env.sh"
source "${KUBE_ROOT}/cluster/${KUBERNETES_PROVIDER}/util.sh"
if [[ "${KUBERNETES_PROVIDER}" != "gce" ]]; then
echo "Skipping certs test on non-gce provider." echo "Skipping certs test on non-gce provider."
exit 0 exit 0
fi fi