mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
rbd: move core fields to rbdImage struct
moved ParentName, ParentPool and ImageFeatureSet fields to the rbdImage struct as these are the first citizens on the rbdImage. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
c6b288779a
commit
edcb2b529b
@ -128,7 +128,7 @@ func (rv *rbdVolume) generateTempClone() *rbdVolume {
|
||||
tempClone.conn = rv.conn.Copy()
|
||||
// The temp clone image need to have deep flatten feature
|
||||
f := []string{librbd.FeatureNameLayering, librbd.FeatureNameDeepFlatten}
|
||||
tempClone.imageFeatureSet = librbd.FeatureSetFromNames(f)
|
||||
tempClone.ImageFeatureSet = librbd.FeatureSetFromNames(f)
|
||||
tempClone.ClusterID = rv.ClusterID
|
||||
tempClone.Monitors = rv.Monitors
|
||||
tempClone.Pool = rv.Pool
|
||||
|
Reference in New Issue
Block a user