cleanup: correct createORdeleteRbdResources() function name

This patch address a typo in the mentioned function name

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal 2021-06-10 16:30:26 +05:30 committed by mergify[bot]
parent 33bf3fae6b
commit 2851c7d17a

View File

@ -75,17 +75,17 @@ func deployRBDPlugin() {
e2elog.Failf("failed to delete nodeplugin rbac %s with error %v", rbdDirPath+rbdNodePluginRBAC, err)
}
createORDeleteRbdResouces("create")
createORDeleteRbdResources("create")
}
func deleteRBDPlugin() {
createORDeleteRbdResouces("delete")
createORDeleteRbdResources("delete")
}
func createORDeleteRbdResouces(action string) {
func createORDeleteRbdResources(action string) {
csiDriver, err := ioutil.ReadFile(rbdDirPath + csiDriverObject)
if err != nil {
// createORDeleteRbdResouces is used for upgrade testing as csidriverObject is
// createORDeleteRbdResources is used for upgrade testing as csidriverObject is
// newly added, discarding file not found error.
if !os.IsNotExist(err) {
e2elog.Failf("failed to read content from %s with error %v", rbdDirPath+csiDriverObject, err)
@ -228,7 +228,7 @@ var _ = Describe("RBD", func() {
if CurrentGinkgoTestDescription().Failed {
// log pods created by helm chart
logsCSIPods("app=ceph-csi-rbd", c)
// log provisoner
// log provisioner
logsCSIPods("app=csi-rbdplugin-provisioner", c)
// log node plugin
logsCSIPods("app=csi-rbdplugin", c)