mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #35217 from kubernetes/revert-35167-err
Revert "Only delete GKE clusters that exist"
This commit is contained in:
commit
44b7a9b857
@ -401,8 +401,6 @@ function test-teardown() {
|
|||||||
function kube-down() {
|
function kube-down() {
|
||||||
echo "... in gke:kube-down()" >&2
|
echo "... in gke:kube-down()" >&2
|
||||||
detect-project >&2
|
detect-project >&2
|
||||||
if "${GCLOUD}" ${CMD_GROUP:-} container clusters describe --project="${PROJECT}" --zone="${ZONE}" "${CLUSER_NAME}" --quiet &>/dev/null; then
|
"${GCLOUD}" ${CMD_GROUP:-} container clusters delete --project="${PROJECT}" \
|
||||||
"${GCLOUD}" ${CMD_GROUP:-} container clusters delete --project="${PROJECT}" \
|
--zone="${ZONE}" "${CLUSTER_NAME}" --quiet
|
||||||
--zone="${ZONE}" "${CLUSTER_NAME}" --quiet
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user