-a is optional

This commit is contained in:
Michael Vines 2019-10-26 22:03:35 -07:00
parent 6efaaa9d7a
commit f3c0aa154a
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 5 additions and 1 deletions

View File

@ -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[@]})