rbd: remove SizeBytes from rbdSnapshot struct

as we are moving the VolSize to rbdImage struct
we should reuse the same instead of maintaining
one more field in rbdSnapshot struct.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2021-12-20 19:44:10 +05:30
committed by mergify[bot]
parent b1a0bb4714
commit 6a82baf5d3
3 changed files with 3 additions and 4 deletions

View File

@ -184,7 +184,6 @@ type rbdSnapshot struct {
SourceVolumeID string
ReservedID string
RbdSnapName string
SizeBytes int64
}
// imageFeature represents required image features and value.