From 0c51f156ae08a80237ae1c0acb5e3814870f9d88 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Fri, 5 Apr 2019 11:28:00 -0600 Subject: [PATCH] Reverse order of zone arg array building --- ci/testnet-deploy.sh | 2 +- ci/testnet-manager.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/testnet-deploy.sh b/ci/testnet-deploy.sh index 7f36b7221d..da6878538e 100755 --- a/ci/testnet-deploy.sh +++ b/ci/testnet-deploy.sh @@ -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 diff --git a/ci/testnet-manager.sh b/ci/testnet-manager.sh index 6ff5ff16b7..f05c8523cd 100755 --- a/ci/testnet-manager.sh +++ b/ci/testnet-manager.sh @@ -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 \