open-nomad/nomad/volumewatcher
Tim Gross 42f9d517d8
CSI volumewatcher testability improvments (#7889)
* volumewatcher: remove redundant log fields

The constructor for `volumeWatcher` already sets a `logger.With` that
includes the volume ID and namespace fields. Remove them from the
various trace logs.

* volumewatcher: advance state for controller already released

One way of bypassing client RPCs in testing is to set a claim status
to controller-detached, but this results in an incorrect claim state
when we checkpoint.
2020-05-07 15:57:24 -04:00
..
batcher.go csi: move volume claim release into volumewatcher (#7794) 2020-04-30 09:13:00 -04:00
batcher_test.go csi: move volume claim release into volumewatcher (#7794) 2020-04-30 09:13:00 -04:00
interfaces.go csi: move volume claim release into volumewatcher (#7794) 2020-04-30 09:13:00 -04:00
interfaces_test.go csi: move volume claim release into volumewatcher (#7794) 2020-04-30 09:13:00 -04:00
volume_watcher.go CSI volumewatcher testability improvments (#7889) 2020-05-07 15:57:24 -04:00
volume_watcher_test.go csi: move volume claim release into volumewatcher (#7794) 2020-04-30 09:13:00 -04:00
volumes_watcher.go csi: move volume claim release into volumewatcher (#7794) 2020-04-30 09:13:00 -04:00
volumes_watcher_test.go csi: ensure Read/WriteAllocs aren't released early (#7841) 2020-04-30 17:11:31 -04:00