Skip to content

Commit

Permalink
Continue searching other orgs on error
Browse files Browse the repository at this point in the history
Signed-off-by: Doug Larson <[email protected]>
  • Loading branch information
dlarson04 committed Aug 25, 2024
1 parent 1949d72 commit 9ab41df
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions agreementbot/node_search.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9ab41df

Please sign in to comment.