mirror of
https://git.mirrors.martin98.com/https://github.com/ceph/ceph-csi.git
synced 2025-10-15 17:21:30 +08:00

By using switch/case it is easier to follow the error checking of the genVolFromVolID() function. In case a new error is added as a return of the function, it will be simpler to add checking for it. Signed-off-by: Niels de Vos <ndevos@redhat.com>