From f3c0aa154ab7345eabe71d016eb2164d26a0c6a1 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Sat, 26 Oct 2019 22:03:35 -0700 Subject: [PATCH] -a is optional --- ci/testnet-deploy.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/testnet-deploy.sh b/ci/testnet-deploy.sh index 3d5211994..3e5310d1b 100755 --- a/ci/testnet-deploy.sh +++ b/ci/testnet-deploy.sh @@ -288,11 +288,15 @@ if ! $skipCreate; then echo "--- $cloudProvider.sh create" create_args=( -p "$netName" - -a "$bootstrapValidatorAddress" -c "$clientNodeCount" -n "$additionalValidatorCount" --dedicated ) + + if [[ -n $bootstrapValidatorAddress ]]; then + create_args+=(-a "$bootstrapValidatorAddress") + fi + # shellcheck disable=SC2206 create_args+=(${zone_args[@]})