From cb09696b1c8e7fb61adca468a108a0be7e748afc Mon Sep 17 00:00:00 2001 From: Juana De La Cuesta Date: Tue, 6 May 2025 18:21:33 +0200 Subject: [PATCH] Nojira upgrade3 (#25817) * fix: typo * fix: correct the script for unbound var * fix: typo * fix: typo --- enos/modules/upgrade_client/scripts/verify_allocs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enos/modules/upgrade_client/scripts/verify_allocs.sh b/enos/modules/upgrade_client/scripts/verify_allocs.sh index b5d76b5ec..edaed955c 100755 --- a/enos/modules/upgrade_client/scripts/verify_allocs.sh +++ b/enos/modules/upgrade_client/scripts/verify_allocs.sh @@ -90,7 +90,7 @@ if [ -z "$current_allocs" ]; then error_exit "Failed to read allocs for node: $client_id" fi -IDs=$(echo $ALLOCS | jq '[ .[] | select(.ClientStatus == \"running\")] | [.[].ID] | join(" ")') +IDs=$(echo $ALLOCS | jq '[ .[] | select(.ClientStatus == "running")] | [.[].ID] | join(" ")') IFS=' ' read -r -a INPUT_ARRAY <<< "${IDs[*]}" IFS=' ' read -r -a RUNNING_ARRAY <<< "$current_allocs"