Correct a typo in env vars

I should have used `KUBE_GCE_MASTER_PROJECT` and `KUBE_GCE_MASTER_IMAGE`.
This commit is contained in:
Daniel Wang 2016-03-18 11:48:24 -07:00
parent 4877c988c3
commit 848c64a17b

View File

@ -152,8 +152,8 @@ echo "--------------------------------------------------------------------------
if [[ "${JENKINS_USE_TRUSTY_IMAGES:-}" =~ ^[yY]$ ]]; then if [[ "${JENKINS_USE_TRUSTY_IMAGES:-}" =~ ^[yY]$ ]]; then
trusty_image_project="$(get_trusty_image_project)" trusty_image_project="$(get_trusty_image_project)"
trusty_image="$(get_latest_trusty_image "${trusty_image_project}" "head")" trusty_image="$(get_latest_trusty_image "${trusty_image_project}" "head")"
export KUBE_MASTER_IMAGE_PROJECT="${trusty_image_project}" export KUBE_GCE_MASTER_PROJECT="${trusty_image_project}"
export KUBE_MASTER_IMAGE="${trusty_image}" export KUBE_GCE_MASTER_IMAGE="${trusty_image}"
export KUBE_OS_DISTRIBUTION="trusty" export KUBE_OS_DISTRIBUTION="trusty"
fi fi