Skip to content

Commit

Permalink
Make GCI_DOCKER_VERSION optional
Browse files Browse the repository at this point in the history
fixes kubernetes#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.
  • Loading branch information
wonderfly committed Jun 20, 2016
1 parent 554b701 commit 0acb2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/gce/gci/helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0acb2dc

Please sign in to comment.