From c7e7b6eb86c65c8bf33bdd15ff0aa9a72ce78259 Mon Sep 17 00:00:00 2001 From: Matt Pryor Date: Mon, 19 Jun 2023 14:38:09 +0100 Subject: [PATCH] Add a retry sleep duration to retrieve script --- scripts/sonobuoy-retrieve.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/sonobuoy-retrieve.sh b/scripts/sonobuoy-retrieve.sh index 52c62f0..e75d3d8 100755 --- a/scripts/sonobuoy-retrieve.sh +++ b/scripts/sonobuoy-retrieve.sh @@ -9,7 +9,6 @@ set -e ##### - retries=0 retry_limit=20 while true; do @@ -23,6 +22,6 @@ while true; do echo "Retries timed out. Check 'sonobuoy retrieve' command." exit 1 fi - echo "Error retrieving results. Waiting ${STATUS_INTERVAL_SEC}s to retry...[${retries}/${retry_limit}]" - sleep "${STATUS_INTERVAL_SEC}" + echo "Error retrieving results. Waiting 30s to retry...[${retries}/${retry_limit}]" + sleep 30 done