Fix typo in deleteConfigMap

This commit is contained in:
Woohyung Han 2019-12-04 10:35:02 +09:00 committed by mergify[bot]
parent dccbf484a8
commit 685e2540a8
3 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ var _ = Describe("cephfs", func() {
AfterEach(func() {
deleteCephfsPlugin()
deleteConfiMap(cephfsDirPath)
deleteConfigMap(cephfsDirPath)
deleteResource(cephfsExamplePath + "secret.yaml")
deleteResource(cephfsExamplePath + "storageclass.yaml")
deleteFileSystem()

View File

@ -72,7 +72,7 @@ var _ = Describe("RBD", func() {
AfterEach(func() {
deleteRBDPlugin()
deleteConfiMap(rbdDirPath)
deleteConfigMap(rbdDirPath)
deleteRBDPool()
deleteResource(rbdExamplePath + "secret.yaml")
deleteResource(rbdExamplePath + "storageclass.yaml")

View File

@ -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 {