From f68203549b0c77ea26ed07214b09acabb77b673b Mon Sep 17 00:00:00 2001 From: Juana De La Cuesta Date: Tue, 6 May 2025 17:16:56 +0200 Subject: [PATCH] Fix the verify allocs, missing `echo` (#25816) * fix: typo * fix: correct the script for unbound var * 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 6f58d5843..b5d76b5ec 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=$($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"