mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-01-31 00:59:30 +00:00
rbd: rename volumeNamePrefix to volumeGroupNamePrefix
Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
parent
08d85e135e
commit
ce767fe891
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user