open-nomad/client/dynamicplugins
Tim Gross 989d7d9fcf
csi: avoid a nil pointer when handling plugin events (#15518)
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.
2022-12-12 08:42:57 -05:00
..
registry.go csi: avoid a nil pointer when handling plugin events (#15518) 2022-12-12 08:42:57 -05:00
registry_test.go fix data race in dynamic plugin registry tests (#12554) 2022-04-14 14:55:56 -04:00