rbd: rename volumeNamePrefix to volumeGroupNamePrefix

Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
Praveen M 2025-01-28 09:42:45 +05:30 committed by mergify[bot]
parent 08d85e135e
commit ce767fe891

View File

@ -257,8 +257,8 @@ func (mgr *rbdManager) CreateVolumeGroup(ctx context.Context, name string) (type
journalPool = pool journalPool = pool
} }
// volumeNamePrefix is an optional parameter, can be an empty string // volumeGroupNamePrefix is an optional parameter, can be an empty string
prefix := mgr.parameters["volumeNamePrefix"] prefix := mgr.parameters["volumeGroupNamePrefix"]
// check if the journal contains a generated name for the group already // check if the journal contains a generated name for the group already
vgData, err := vgJournal.CheckReservation(ctx, journalPool, name, prefix) vgData, err := vgJournal.CheckReservation(ctx, journalPool, name, prefix)