-a is optional
This commit is contained in:
@ -288,11 +288,15 @@ if ! $skipCreate; then
|
|||||||
echo "--- $cloudProvider.sh create"
|
echo "--- $cloudProvider.sh create"
|
||||||
create_args=(
|
create_args=(
|
||||||
-p "$netName"
|
-p "$netName"
|
||||||
-a "$bootstrapValidatorAddress"
|
|
||||||
-c "$clientNodeCount"
|
-c "$clientNodeCount"
|
||||||
-n "$additionalValidatorCount"
|
-n "$additionalValidatorCount"
|
||||||
--dedicated
|
--dedicated
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if [[ -n $bootstrapValidatorAddress ]]; then
|
||||||
|
create_args+=(-a "$bootstrapValidatorAddress")
|
||||||
|
fi
|
||||||
|
|
||||||
# shellcheck disable=SC2206
|
# shellcheck disable=SC2206
|
||||||
create_args+=(${zone_args[@]})
|
create_args+=(${zone_args[@]})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user