mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Make GCI_DOCKER_VERSION optional
fixes #26813 This env var is only set in `config-test.sh` and trying to evaluate it with `nounset` set will end up with an "unbound variable" error.
This commit is contained in:
parent
554b7010fa
commit
0acb2dc28a
@ -32,7 +32,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
if [[ ! -f "${KUBE_TEMP}/gci-docker-version.txt" ]]; then
|
if [[ ! -f "${KUBE_TEMP}/gci-docker-version.txt" ]]; then
|
||||||
cat >"${KUBE_TEMP}/gci-docker-version.txt" << EOF
|
cat >"${KUBE_TEMP}/gci-docker-version.txt" << EOF
|
||||||
${GCI_DOCKER_VERSION}
|
${GCI_DOCKER_VERSION:-}
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user