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() { AfterEach(func() {
deleteCephfsPlugin() deleteCephfsPlugin()
deleteConfiMap(cephfsDirPath) deleteConfigMap(cephfsDirPath)
deleteResource(cephfsExamplePath + "secret.yaml") deleteResource(cephfsExamplePath + "secret.yaml")
deleteResource(cephfsExamplePath + "storageclass.yaml") deleteResource(cephfsExamplePath + "storageclass.yaml")
deleteFileSystem() deleteFileSystem()

View File

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

View File

@ -262,7 +262,7 @@ func createRBDStorageClass(c kubernetes.Interface, f *framework.Framework, param
// Expect(err).Should(BeNil()) // Expect(err).Should(BeNil())
// } // }
func deleteConfiMap(pluginPath string) { func deleteConfigMap(pluginPath string) {
path := pluginPath + configMap path := pluginPath + configMap
_, err := framework.RunKubectl("delete", "-f", path) _, err := framework.RunKubectl("delete", "-f", path)
if err != nil { if err != nil {