Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
csi: fix handling of garbage collected node in node unpublish
When a node is garbage collected, we assume that the volume is no longer attached to it and ignore the `ErrUnknownNode` error. But we used `errors.Is` to check for a wrapped error, and RPC flattens the errors during serialization. This results in an error check that works in automated testing but not in real clusters. Use a string contains check instead.
- Loading branch information