Skip to content

Commit 23c358d

Browse files
authored
Fix unbound variable error in gce/configure.sh
Looks like UBUNTU_INSTALL_RUNC_VERSION should be optional here.
1 parent 4734543 commit 23c358d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster/gce/gci/configure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ function ensure-container-runtime {
498498
docker version
499499
elif [[ "${container_runtime}" == "containerd" ]]; then
500500
# Install containerd/runc if requested
501-
if [[ ! -z "${UBUNTU_INSTALL_CONTAINERD_VERSION:-}" || ! -z "${UBUNTU_INSTALL_RUNC_VERSION}" ]]; then
501+
if [[ ! -z "${UBUNTU_INSTALL_CONTAINERD_VERSION:-}" || ! -z "${UBUNTU_INSTALL_RUNC_VERSION:-}" ]]; then
502502
install-containerd-ubuntu
503503
fi
504504
# Verify presence and print versions of ctr, containerd, runc

0 commit comments

Comments
 (0)