Reverse order of zone arg array building

This commit is contained in:
Dan Albert 2019-04-05 11:28:00 -06:00 committed by Pankaj Garg
parent fe2fb40d88
commit 0c51f156ae
2 changed files with 3 additions and 3 deletions

View File

@ -158,7 +158,7 @@ set -x
# Build a string to pass zone opts to $cloudProvider.sh: "-z zone1 -z zone2 ..."
for val in "${zone[@]}"; do
zone_args="-z $val $zone_args"
zone_args="-z $zone_args $val"
done
if ! $skipSetup; then

View File

@ -230,11 +230,11 @@ start() {
# Build a string to pass as opts to testnet-deploy.sh: "-z zone1 -z zone2 ..."
for val in "${GCE_ZONES[@]}"; do
GCE_ZONE_ARGS="-z $val $GCE_ZONE_ARGS"
GCE_ZONE_ARGS="-z $GCE_ZONE_ARGS $val"
done
for val in "${EC2_ZONES[@]}"; do
EC2_ZONE_ARGS="-z $val $EC2_ZONE_ARGS"
EC2_ZONE_ARGS="-z $EC2_ZONE_ARGS $val"
done
NO_VALIDATOR_SANITY=1 \