mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
rbd: fix problem with deletion of a namespaced image
fix problem with deletion of a namespaced image Signed-off-by: Marton Natko <mnatko@transip.nl> Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
2fbca0d1e2
commit
91c49c14b3
@ -134,6 +134,7 @@ func (rv *rbdVolume) generateTempClone() *rbdVolume {
|
|||||||
tempClone.ClusterID = rv.ClusterID
|
tempClone.ClusterID = rv.ClusterID
|
||||||
tempClone.Monitors = rv.Monitors
|
tempClone.Monitors = rv.Monitors
|
||||||
tempClone.Pool = rv.Pool
|
tempClone.Pool = rv.Pool
|
||||||
|
tempClone.RadosNamespace = rv.RadosNamespace
|
||||||
// The temp cloned image name will be always (rbd image name + "-temp")
|
// The temp cloned image name will be always (rbd image name + "-temp")
|
||||||
// this name will be always unique, as cephcsi never creates an image with
|
// this name will be always unique, as cephcsi never creates an image with
|
||||||
// this format for new rbd images
|
// this format for new rbd images
|
||||||
|
Loading…
Reference in New Issue
Block a user