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

Return nil error in case NotFound and to use RequeueAfter #461

Merged

Commits on Aug 7, 2024

  1. Return nil error in case NotFound and to use RequeueAfter

    Currently the reconciler returned both a non-zero result and a
    non-nil error.
    The result will always be ignored if the error is non-nil and the
    non-nil error causes reqeueuing with exponential backoff.
    
    In case of NotFound return nil that the ReqeueAfter is used.
    
    For more details, see: https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/reconcile#Reconciler
    
    Signed-off-by: Martin Schuppert <[email protected]>
    stuggi committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    5461f38 View commit details
    Browse the repository at this point in the history