mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 14:50:24 +00:00
e2e: use proper variable name for rbd mount options
The variable naming for rbd mount options has been changed to rbdMountOptions to be consistent with other variable naming schema Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
921975f45e
commit
b082689f69
@ -911,7 +911,7 @@ var _ = Describe("RBD", func() {
|
||||
if err != nil {
|
||||
e2elog.Failf("failed to delete storageclass with error %v", err)
|
||||
}
|
||||
err = createRBDStorageClass(f.ClientSet, f, map[string]string{rbdmountOptions: "debug,invalidOption"}, nil, deletePolicy)
|
||||
err = createRBDStorageClass(f.ClientSet, f, map[string]string{rbdMountOptions: "debug,invalidOption"}, nil, deletePolicy)
|
||||
if err != nil {
|
||||
e2elog.Failf("failed to create storageclass with error %v", err)
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ func createRBDStorageClass(c kubernetes.Interface, f *framework.Framework, scOpt
|
||||
}
|
||||
|
||||
// comma separated mount options
|
||||
if opt, ok := scOptions[rbdmountOptions]; ok {
|
||||
if opt, ok := scOptions[rbdMountOptions]; ok {
|
||||
mOpt := strings.Split(opt, ",")
|
||||
sc.MountOptions = append(sc.MountOptions, mOpt...)
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ const (
|
||||
vaultPassphrasePath = "ceph-csi/"
|
||||
|
||||
rookToolBoxPodLabel = "app=rook-ceph-tools"
|
||||
rbdmountOptions = "mountOptions"
|
||||
rbdMountOptions = "mountOptions"
|
||||
|
||||
retainPolicy = v1.PersistentVolumeReclaimRetain
|
||||
// deletePolicy is the default policy in E2E.
|
||||
|
Loading…
Reference in New Issue
Block a user