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 endless recursion when a workload uses the same name as its owner. #3615

Merged
merged 1 commit into from
Jun 10, 2024

Commits on Jun 10, 2024

  1. Fix endless recursion when a workload uses the same name as its owner.

    The workload cache was keyed by name and namespace, but not by kind, so
    a workload named the same as its owner workload would be found using the
    same key. This led to the workload finding itself when looking up its
    owner, which in turn resulted in an endless recursion when searching for
    the topmost owner.
    
    Signed-off-by: Thomas Hallgren <[email protected]>
    thallgren committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    9368b47 View commit details
    Browse the repository at this point in the history