Reverse order of zone arg array building
This commit is contained in:
parent
fe2fb40d88
commit
0c51f156ae
|
@ -158,7 +158,7 @@ set -x
|
||||||
|
|
||||||
# Build a string to pass zone opts to $cloudProvider.sh: "-z zone1 -z zone2 ..."
|
# Build a string to pass zone opts to $cloudProvider.sh: "-z zone1 -z zone2 ..."
|
||||||
for val in "${zone[@]}"; do
|
for val in "${zone[@]}"; do
|
||||||
zone_args="-z $val $zone_args"
|
zone_args="-z $zone_args $val"
|
||||||
done
|
done
|
||||||
|
|
||||||
if ! $skipSetup; then
|
if ! $skipSetup; then
|
||||||
|
|
|
@ -230,11 +230,11 @@ start() {
|
||||||
|
|
||||||
# Build a string to pass as opts to testnet-deploy.sh: "-z zone1 -z zone2 ..."
|
# Build a string to pass as opts to testnet-deploy.sh: "-z zone1 -z zone2 ..."
|
||||||
for val in "${GCE_ZONES[@]}"; do
|
for val in "${GCE_ZONES[@]}"; do
|
||||||
GCE_ZONE_ARGS="-z $val $GCE_ZONE_ARGS"
|
GCE_ZONE_ARGS="-z $GCE_ZONE_ARGS $val"
|
||||||
done
|
done
|
||||||
|
|
||||||
for val in "${EC2_ZONES[@]}"; do
|
for val in "${EC2_ZONES[@]}"; do
|
||||||
EC2_ZONE_ARGS="-z $val $EC2_ZONE_ARGS"
|
EC2_ZONE_ARGS="-z $EC2_ZONE_ARGS $val"
|
||||||
done
|
done
|
||||||
|
|
||||||
NO_VALIDATOR_SANITY=1 \
|
NO_VALIDATOR_SANITY=1 \
|
||||||
|
|
Loading…
Reference in New Issue