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

CSI: avoid a nil pointer when handling plugin events #15518

Merged
merged 1 commit into from
Dec 12, 2022

Commits on Dec 9, 2022

  1. csi: avoid a nil pointer when handling plugin events

    If a plugin crashes quickly enough, we can get into a situation where the
    deregister function is called before it's ever registered. Safely handle the
    resulting nil pointer in the dynamic registry by not emitting a plugin event,
    but also update the plugin event handler to tolerate nil pointers in case we
    wire it up elsewhere in the future.
    tgross committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    0d3b86a View commit details
    Browse the repository at this point in the history