mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 11:50:18 +00:00
journal: fix empty csiCreationTimeKey value
This commit fixes the issue where the `csiCreationTimeKey` field was missing during the rebuilding of the `VolumeGroupJournalConfig` struct in the `Connect()` method, which led to the `csi.creationtime` key not being stored in the omap. Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
parent
869aaced7d
commit
e150fd986b
@ -129,7 +129,8 @@ func (vgc *VolumeGroupJournalConfig) Connect(
|
||||
) (VolumeGroupJournal, error) {
|
||||
vgjc := &volumeGroupJournalConnection{}
|
||||
vgjc.config = &VolumeGroupJournalConfig{
|
||||
Config: vgc.Config,
|
||||
Config: vgc.Config,
|
||||
csiCreationTimeKey: vgc.csiCreationTimeKey,
|
||||
}
|
||||
conn, err := vgc.Config.Connect(monitors, namespace, cr)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user