From 455a787c69eae5e446e67b907eb5adb4b7bf02ff Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Fri, 12 Jun 2015 09:27:54 -0700 Subject: [PATCH] Add a missing $PROJECT to the tear down. --- cluster/gce/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/gce/util.sh b/cluster/gce/util.sh index 8d1c7169952..82a97ef7119 100755 --- a/cluster/gce/util.sh +++ b/cluster/gce/util.sh @@ -738,7 +738,7 @@ function kube-down { # The gcloud APIs don't return machine parsable error codes/retry information. Therefore the best we can # do is parse the output and special case particular responses we are interested in. - if gcloud preview managed-instance-groups --zone "${ZONE}" describe "${NODE_INSTANCE_PREFIX}-group" &>/dev/null; then + if gcloud preview managed-instance-groups --project "${PROJECT}" --zone "${ZONE}" describe "${NODE_INSTANCE_PREFIX}-group" &>/dev/null; then deleteCmdOutput=$(gcloud preview managed-instance-groups --zone "${ZONE}" delete \ --project "${PROJECT}" \ --quiet \