open-nomad/client/pluginmanager/csimanager
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
..
doc.go build: run gofmt on all go source files 2022-08-16 11:14:11 -05:00
fingerprint.go cleanup more helper updates (#14638) 2022-09-21 14:53:25 -05:00
fingerprint_test.go
instance.go CSI: make gRPC client creation more robust (#12057) 2022-02-15 16:57:29 -05:00
instance_test.go csi: checkpoint volume claim garbage collection (#7782) 2020-04-23 11:06:23 -04:00
interface.go CSI: use AccessMode/AttachmentMode from CSIVolumeClaim 2021-04-07 11:24:09 -04:00
manager.go csi: avoid a nil pointer when handling plugin events (#15518) 2022-12-12 08:42:57 -05:00
manager_test.go CSI: fix data race in plugin manager (#12553) 2022-04-12 12:18:04 -04:00
usage_tracker.go
usage_tracker_test.go
volume.go CSI: node unmount from the client before unpublish RPC (#11892) 2022-01-28 08:30:31 -05:00
volume_test.go test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00