mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-23 15:56:42 +00:00
When an incorrect volumeID is passed while creating a VolumeGroup, the `.Destroy()` function caused a panic. By appending each volume to the volumes slice, the slice won't contain any `nil` volumes anymore. Signed-off-by: Niels de Vos <ndevos@ibm.com>