Files
kubernetes/pkg/volume
Kubernetes Submit Queue 7da05eb87b Merge pull request #63295 from jsafrane/fix-csi-detach-delete
Automatic merge from submit-queue (batch tested with PRs 63569, 63918, 63980, 63295, 63989). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fixed CSI volume detach when the volume is already detached.

**What this PR does / why we need it**:
"VolumeAttachment NotFound" error should be treated as successful detach.

/sig storage
/assign @vladimirvivien @saad-ali

**Special notes for your reviewer**:
Note that the PR changes just 4 lines in attachment code, the rest is unit test refactoring to inject fake errors.

**Release note**:

```release-note
NONE
```
2018-05-18 09:54:22 -07:00
..
2018-04-24 19:08:38 +05:30
2018-02-27 20:23:36 +08:00
2018-03-15 13:40:50 +05:30
2018-02-27 20:23:36 +08:00
2018-02-27 20:23:36 +08:00
2018-02-27 20:23:35 +08:00
2018-02-27 20:23:35 +08:00