1
0
mirror of https://github.com/ceph/ceph-csi.git synced 2025-03-21 06:39:28 +00:00

rbd: add image size in toSnapshot

we need to return the rbd image size
as a snapshot size in CreateSnapshot
Response.

fixes: 

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2024-08-21 09:50:09 +02:00 committed by mergify[bot]
parent 9181d20d33
commit 38fd27a209

View File

@ -106,6 +106,7 @@ func (rv *rbdVolume) toSnapshot() *rbdSnapshot {
rbdImage: rbdImage{
ClusterID: rv.ClusterID,
VolID: rv.VolID,
VolSize: rv.VolSize,
Monitors: rv.Monitors,
Pool: rv.Pool,
JournalPool: rv.JournalPool,