Delete terminated GCP instances (#5490) (#5492)

automerge

(cherry picked from commit 6085109171)
This commit is contained in:
mergify[bot]
2019-08-12 08:58:26 -07:00
committed by Michael Vines
parent cf9e6c9ab7
commit e480e5444d
2 changed files with 18 additions and 1 deletions

View File

@@ -412,7 +412,6 @@ EOF
declare failOnFailure="$6"
declare arrayName="$7"
# This check should eventually be moved to cloud provider specific script
if [ "$publicIp" = "TERMINATED" ] || [ "$privateIp" = "TERMINATED" ]; then
if $failOnFailure; then
exit 1