Fix gke_test (should've realized why the cut -c 2- was there above this)

pull/6/head
Zach Loafman 2015-03-30 13:36:35 -07:00
parent ef66d85b98
commit 8fff5338e2
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ cd kubernetes
if [[ ! -z ${E2E_SET_CLUSTER_API_VERSION:-} ]]; then
export CLUSTER_API_VERSION=$(echo ${GITHASH} | cut -c 2-)
elif [[ ! -z ${E2E_USE_LATEST_RELEASE_VERSION:-} ]]; then
release=$(gsutil cat gs://kubernetes-release/release/latest.txt)
release=$(gsutil cat gs://kubernetes-release/release/latest.txt | cut -c 2-)
export CLUSTER_API_VERSION=${release}
fi