Merge pull request #2785 from zmerlynn/certs

Fix e2e-suite/certs.sh unbound variables
This commit is contained in:
Joe Beda 2014-12-08 09:59:06 -08:00
commit d60f450115

View File

@ -21,7 +21,11 @@ set -o errexit
set -o nounset
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."
exit 0
fi