mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Fix unbound variable error in gce/configure.sh
Looks like UBUNTU_INSTALL_RUNC_VERSION should be optional here.
This commit is contained in:
parent
4734543888
commit
23c358d883
@ -498,7 +498,7 @@ function ensure-container-runtime {
|
|||||||
docker version
|
docker version
|
||||||
elif [[ "${container_runtime}" == "containerd" ]]; then
|
elif [[ "${container_runtime}" == "containerd" ]]; then
|
||||||
# Install containerd/runc if requested
|
# Install containerd/runc if requested
|
||||||
if [[ ! -z "${UBUNTU_INSTALL_CONTAINERD_VERSION:-}" || ! -z "${UBUNTU_INSTALL_RUNC_VERSION}" ]]; then
|
if [[ ! -z "${UBUNTU_INSTALL_CONTAINERD_VERSION:-}" || ! -z "${UBUNTU_INSTALL_RUNC_VERSION:-}" ]]; then
|
||||||
install-containerd-ubuntu
|
install-containerd-ubuntu
|
||||||
fi
|
fi
|
||||||
# Verify presence and print versions of ctr, containerd, runc
|
# Verify presence and print versions of ctr, containerd, runc
|
||||||
|
Loading…
Reference in New Issue
Block a user