Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid panic if creating volume from source fails
If a driver advertises CREATE_DELETE_SNAPSHOT but fails to obey the part of the spec about allowing CreateVolume from a snapshot (such as during an incremental development of a driver), the testsuite was panicking on a nil dereference instead of diagnosing that an unexpected error was returned. Fixes: kubernetes-csi#569 Signed-off-by: Eric Blake <[email protected]>
- Loading branch information