From 0acb2dc28ad9d526691167a50d5b09a4d4cd3388 Mon Sep 17 00:00:00 2001 From: Daniel Wang Date: Mon, 20 Jun 2016 11:17:53 -0700 Subject: [PATCH] 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. --- cluster/gce/gci/helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/gce/gci/helper.sh b/cluster/gce/gci/helper.sh index d4f900c715d..8d653512e81 100755 --- a/cluster/gce/gci/helper.sh +++ b/cluster/gce/gci/helper.sh @@ -32,7 +32,7 @@ EOF fi if [[ ! -f "${KUBE_TEMP}/gci-docker-version.txt" ]]; then cat >"${KUBE_TEMP}/gci-docker-version.txt" << EOF -${GCI_DOCKER_VERSION} +${GCI_DOCKER_VERSION:-} EOF fi }