Merge pull request #69757 from Huang-Wei/e2e-unbound-var

fix issue that e2e script exits due to unbound variables
This commit is contained in:
k8s-ci-robot 2018-10-16 17:53:11 -07:00 committed by GitHub
commit 46ad1ed00b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,8 +19,8 @@
# Must ensure that the following ENV vars are set
function detect-master {
echo "KUBE_MASTER_IP: $KUBE_MASTER_IP" 1>&2
echo "KUBE_MASTER: $KUBE_MASTER" 1>&2
echo "KUBE_MASTER_IP: ${KUBE_MASTER_IP:-}" 1>&2
echo "KUBE_MASTER: ${KUBE_MASTER:-}" 1>&2
}
# Get node names if they are not static.