From 39d6752fc14868f315de3aaf21518b7727beeafa Mon Sep 17 00:00:00 2001 From: Rakshith R Date: Mon, 28 Jun 2021 10:41:20 +0530 Subject: [PATCH] rbd: use `CSIInstanceID` var instead of "default" in RegenerateJournal() Signed-off-by: Rakshith R --- internal/rbd/rbd_journal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/rbd/rbd_journal.go b/internal/rbd/rbd_journal.go index 88e7f1dc4..0dbe80d5c 100644 --- a/internal/rbd/rbd_journal.go +++ b/internal/rbd/rbd_journal.go @@ -569,7 +569,7 @@ func RegenerateJournal( if rbdVol.JournalPool == "" { rbdVol.JournalPool = rbdVol.Pool } - volJournal = journal.NewCSIVolumeJournal("default") + volJournal = journal.NewCSIVolumeJournal(CSIInstanceID) j, err := volJournal.Connect(rbdVol.Monitors, rbdVol.RadosNamespace, cr) if err != nil { return "", err