From da0ea9935d12d9f711433ecb4e779afec87abe36 Mon Sep 17 00:00:00 2001 From: Juana De La Cuesta Date: Tue, 6 May 2025 16:44:25 +0200 Subject: [PATCH] fix: typo (#25814) --- enos/modules/upgrade_client/scripts/verify_allocs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enos/modules/upgrade_client/scripts/verify_allocs.sh b/enos/modules/upgrade_client/scripts/verify_allocs.sh index 2e048d909..ad5dacf13 100755 --- a/enos/modules/upgrade_client/scripts/verify_allocs.sh +++ b/enos/modules/upgrade_client/scripts/verify_allocs.sh @@ -48,10 +48,10 @@ done echo "Client $client_id at $CLIENT_IP is ready" -allocs_count=$($ALLOCS |jq '[ .[] | select(.ClientStatus == "running")] | length') +echo "$allocs_count allocs found before upgrade $ALLOCS" +allocs_count=$(echo $ALLOCS |jq '[ .[] | select(.ClientStatus == "running")] | length') # Quality: "nomad_alloc_reconnect: A GET call to /v1/allocs will return the same IDs for running allocs before and after a client upgrade on each client" -echo "$allocs_count allocs found before upgrade $ALLOCS" checkAllocsCount() { local allocs