mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
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:
commit
46ad1ed00b
@ -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
Block a user