mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 16:50:23 +00:00
rbd: use CSIInstanceID
var instead of "default" in RegenerateJournal()
Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 39d6752fc1
)
This commit is contained in:
parent
fbc1e5f3d5
commit
d4c84e814b
@ -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