mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
cleanup: correct typo in NewCSIVolumeroupJournal()
function
The name of the function should be `NewCSIVolumeGroupJournal()`. Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
4f04748c87
commit
c32dfc0ae6
@ -84,8 +84,8 @@ type volumeGroupJournalConfig struct {
|
|||||||
*Connection
|
*Connection
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewCSIVolumeroupJournal returns an instance of VolumeGroupJournal for groups.
|
// NewCSIVolumeGroupJournal returns an instance of VolumeGroupJournal for groups.
|
||||||
func NewCSIVolumeroupJournal(suffix string) VolumeGroupJournal {
|
func NewCSIVolumeGroupJournal(suffix string) VolumeGroupJournal {
|
||||||
return &volumeGroupJournalConfig{
|
return &volumeGroupJournalConfig{
|
||||||
Config: &Config{
|
Config: &Config{
|
||||||
csiDirectory: "csi.groups." + suffix,
|
csiDirectory: "csi.groups." + suffix,
|
||||||
@ -105,7 +105,7 @@ func (sgj *volumeGroupJournalConfig) SetNamespace(ns string) {
|
|||||||
// NewCSIVolumeGroupJournalWithNamespace returns an instance of VolumeGroupJournal for
|
// NewCSIVolumeGroupJournalWithNamespace returns an instance of VolumeGroupJournal for
|
||||||
// volume groups using a predetermined namespace value.
|
// volume groups using a predetermined namespace value.
|
||||||
func NewCSIVolumeGroupJournalWithNamespace(suffix, ns string) VolumeGroupJournal {
|
func NewCSIVolumeGroupJournalWithNamespace(suffix, ns string) VolumeGroupJournal {
|
||||||
j := NewCSIVolumeroupJournal(suffix)
|
j := NewCSIVolumeGroupJournal(suffix)
|
||||||
j.SetNamespace(ns)
|
j.SetNamespace(ns)
|
||||||
|
|
||||||
return j
|
return j
|
||||||
|
Loading…
Reference in New Issue
Block a user