From 388734011ad9ea672903df3f1a8d2e3f914ef5ba Mon Sep 17 00:00:00 2001 From: Frostebite Date: Sun, 9 Aug 2020 03:08:13 +0100 Subject: [PATCH] Fix --- ApplyClusterAndAcquireLock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplyClusterAndAcquireLock.sh b/ApplyClusterAndAcquireLock.sh index 4444c479..856c7340 100755 --- a/ApplyClusterAndAcquireLock.sh +++ b/ApplyClusterAndAcquireLock.sh @@ -15,7 +15,7 @@ GKE_ZONE=$3 sudo sh -c "curl https://raw.githubusercontent.com/kadwanev/retry/master/retry -o /usr/local/bin/retry && chmod +x /usr/local/bin/retry" attempts=0 -while [ $attempts -gt 0 ] +while [ $attempts -le 1 ] do retry -s 15 -t 20 -v ' STATUS=$(gcloud container clusters list --format="json" --project $GKE_PROJECT |