mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-03-06 15:39:29 +00:00
`doSnapshotClone()` returns a new `rbdVolume` object from a temporary
snapshot. This conversion drops the `SourceVolumeID` attribute, as a
`rbdVolume` does not have that.
After converting the `rbdVolume` back to a `rbdSnapshot`, the
`SourceVolumeID` attribute can be set again, and the `ToCSI()` function
can create an appropriate CSI Snapshot struct.
Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
cephfs | ||
controller | ||
csi-addons | ||
csi-common | ||
health-checker | ||
journal | ||
kms | ||
liveness | ||
nfs | ||
rbd | ||
util |