From e150fd986be7f108e7bb23c956f5732feb54daea Mon Sep 17 00:00:00 2001 From: Praveen M Date: Mon, 12 Aug 2024 11:10:08 +0530 Subject: [PATCH] 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 --- internal/journal/volumegroupjournal.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/journal/volumegroupjournal.go b/internal/journal/volumegroupjournal.go index 8f81c0b4b..7d6a2b77e 100644 --- a/internal/journal/volumegroupjournal.go +++ b/internal/journal/volumegroupjournal.go @@ -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 {