Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pmem-csi-driver: idempotent removal of target dir in NodeUnpublishVolume
If the target directory already was removed earlier, os.Remove returns ErrNotExist, which must be ignored. Found accidentally on Clear Linux during the "can mount again after restart" test: there (and not on Fedora!) the target directory created by the driver didn't survive the sudden power loss, and then NodeUnpublishVolume failed.
- Loading branch information