Fix e2e teardown

This commit is contained in:
Joe Beda
2014-08-14 13:57:50 -07:00
parent ad8e853e82
commit 629f964791
2 changed files with 2 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ export KUBE_REPO_ROOT="$(dirname $0)/.."
export CLOUDCFG="${KUBE_REPO_ROOT}/cluster/kubecfg.sh -expect_version_match"
if [[ $TEAR_DOWN -ne 0 ]]; then
detect-project
trap test-teardown EXIT
exit 0
fi