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() {
|
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()
|
||||||
|
@ -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")
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user