mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
rbd: use CSIInstanceID
var instead of "default" in RegenerateJournal()
Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
parent
9cd8326bb2
commit
39d6752fc1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user