mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-31 11:06:42 +00: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>