Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #3146 Support close open/fail for Ready Tracker & surface errors swallowed by grp.Wait() #3308

Merged
Merged
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
Loading