Skip to content

Commit

Permalink
fix: #3146 Support close open/fail for Ready Tracker & surface errors…
Browse files Browse the repository at this point in the history
… swallowed by grp.Wait() (#3308)

Signed-off-by: David-Jaeyoon-Lee <[email protected]>
Co-authored-by: Sertaç Özercan <[email protected]>
Co-authored-by: Jaydipkumar Arvindbhai Gabani <[email protected]>
  • Loading branch information
3 people authored Jul 19, 2024
1 parent c271480 commit 2244cee
Show file tree
Hide file tree
Showing 6 changed files with 1,409 additions and 235 deletions.
5 changes: 5 additions & 0 deletions pkg/readiness/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ func retryAll(_ error) bool {
return true
}

// retryNone is a retryPredicate that will never retry an error.
func retryNone(_ error) bool {
return false
}

// retryUnlessUnregistered is a retryPredicate that retries all errors except
// *NoResourceMatchError, *NoKindMatchError, e.g. a resource was not registered to
// the RESTMapper.
Expand Down
Loading

0 comments on commit 2244cee

Please sign in to comment.