mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
Fix typo in deleteConfigMap
This commit is contained in:
parent
dccbf484a8
commit
685e2540a8
@ -68,7 +68,7 @@ var _ = Describe("cephfs", func() {
|
||||
|
||||
AfterEach(func() {
|
||||
deleteCephfsPlugin()
|
||||
deleteConfiMap(cephfsDirPath)
|
||||
deleteConfigMap(cephfsDirPath)
|
||||
deleteResource(cephfsExamplePath + "secret.yaml")
|
||||
deleteResource(cephfsExamplePath + "storageclass.yaml")
|
||||
deleteFileSystem()
|
||||
|
@ -72,7 +72,7 @@ var _ = Describe("RBD", func() {
|
||||
|
||||
AfterEach(func() {
|
||||
deleteRBDPlugin()
|
||||
deleteConfiMap(rbdDirPath)
|
||||
deleteConfigMap(rbdDirPath)
|
||||
deleteRBDPool()
|
||||
deleteResource(rbdExamplePath + "secret.yaml")
|
||||
deleteResource(rbdExamplePath + "storageclass.yaml")
|
||||
|
@ -262,7 +262,7 @@ func createRBDStorageClass(c kubernetes.Interface, f *framework.Framework, param
|
||||
// Expect(err).Should(BeNil())
|
||||
// }
|
||||
|
||||
func deleteConfiMap(pluginPath string) {
|
||||
func deleteConfigMap(pluginPath string) {
|
||||
path := pluginPath + configMap
|
||||
_, err := framework.RunKubectl("delete", "-f", path)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user