Skip to content

Commit

Permalink
Merge pull request #456 from iPraveenParihar/DFBUGS-1420
Browse files Browse the repository at this point in the history
DFBUGS-1420: rbd: use correct radosnamespace
  • Loading branch information
openshift-merge-bot[bot] authored Jan 24, 2025
2 parents 39884d7 + 72b85df commit 08d010a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/rbd/rbd_journal.go
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,10 @@ func RegenerateJournal(
if err != nil {
return "", err
}
rbdVol.RadosNamespace, err = util.GetRBDRadosNamespace(util.CsiConfigFile, rbdVol.ClusterID)
if err != nil {
return "", err
}

if rbdVol.Pool, ok = volumeAttributes["pool"]; !ok {
return "", errors.New("required 'pool' parameter missing in volume attributes")
Expand Down

0 comments on commit 08d010a

Please sign in to comment.