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 possible nil ptr in snapshot/pvc clone controllers #2900

Merged
merged 1 commit into from
Sep 21, 2023

Commits on Sep 21, 2023

  1. Fix possible nil ptr in snapshot/pvc clone controllers

    We slap on the clone-without-source index key regardless of source.PVC/source.Snapshot so
    it was possible for a DV with PVC source to get queued for the snapshot controller
    (and hence the nil ptr).
    
    The test addition demonstrates a real use case where this would happen.
    
    Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
    akalenyu committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    1db47ec View commit details
    Browse the repository at this point in the history