Nojira upgrade3 (#25815)

* fix: typo

* fix: correct the script for unbound var
This commit is contained in:
Juana De La Cuesta
2025-05-06 16:57:44 +02:00
committed by GitHub
parent da0ea9935d
commit 42d4067d55

View File

@@ -48,8 +48,8 @@ done
echo "Client $client_id at $CLIENT_IP is ready"
echo "$allocs_count allocs found before upgrade $ALLOCS"
allocs_count=$(echo $ALLOCS |jq '[ .[] | select(.ClientStatus == "running")] | length')
echo "$allocs_count allocs found before upgrade $ALLOCS"
# 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"