Permit finding more nodes than expected (./gce.sh config)

This commit is contained in:
Michael Vines 2019-10-16 13:18:39 -07:00
parent 7e6e7e8406
commit 605b477e06
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 1 additions and 1 deletions

View File

@ -515,7 +515,7 @@ EOF
echo "Looking for additional fullnode instances in $zone ..."
cloud_FindInstances "$prefix-$zone-fullnode"
declare numInstances=${#instances[@]}
if [[ $numInstances -eq $numNodesPerZone || ( ! $failOnValidatorBootupFailure && $numInstances -gt 0 ) ]]; then
if [[ $numInstances -ge $numNodesPerZone || ( ! $failOnValidatorBootupFailure && $numInstances -gt 0 ) ]]; then
cloud_ForEachInstance recordInstanceIp "$failOnValidatorBootupFailure" fullnodeIpList
else
echo "Unable to find additional fullnodes"