From 9ab41dfb312f9cf564340a3495ba23bfa53f0dec Mon Sep 17 00:00:00 2001 From: Doug Larson Date: Sun, 25 Aug 2024 15:12:49 -0700 Subject: [PATCH] Continue searching other orgs on error Signed-off-by: Doug Larson --- agreementbot/node_search.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/agreementbot/node_search.go b/agreementbot/node_search.go index c4a868453..f6db6a97d 100644 --- a/agreementbot/node_search.go +++ b/agreementbot/node_search.go @@ -229,9 +229,12 @@ func (n *NodeSearch) findAndMakeAgreements() { } } - if searchError { - break - } + + // Removed this break statement to enable other orgs to still be searched if an error in one org occurs + //if searchError { + // break + //} + } // Done scanning all nodes across all policies, and no errors were encountered.