From 605b477e065b4cd0696b19e0a8ffeb4017f2008f Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 16 Oct 2019 13:18:39 -0700 Subject: [PATCH] Permit finding more nodes than expected (./gce.sh config) --- net/gce.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/gce.sh b/net/gce.sh index 0879b91c12..b5cb1e6a0f 100755 --- a/net/gce.sh +++ b/net/gce.sh @@ -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"