mirror of https://github.com/k3s-io/k3s
fix issue that e2e script exits due to unbound variables
parent
e1a1aa2112
commit
e1af0c5fb1
|
@ -19,8 +19,8 @@
|
||||||
|
|
||||||
# Must ensure that the following ENV vars are set
|
# Must ensure that the following ENV vars are set
|
||||||
function detect-master {
|
function detect-master {
|
||||||
echo "KUBE_MASTER_IP: $KUBE_MASTER_IP" 1>&2
|
echo "KUBE_MASTER_IP: ${KUBE_MASTER_IP:-}" 1>&2
|
||||||
echo "KUBE_MASTER: $KUBE_MASTER" 1>&2
|
echo "KUBE_MASTER: ${KUBE_MASTER:-}" 1>&2
|
||||||
}
|
}
|
||||||
|
|
||||||
# Get node names if they are not static.
|
# Get node names if they are not static.
|
||||||
|
|
Loading…
Reference in New Issue