mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 21:40:20 +00:00
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:
parent
33bf3fae6b
commit
2851c7d17a
10
e2e/rbd.go
10
e2e/rbd.go
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user