mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 23:00:19 +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
6b86391bb2
commit
fad1b602e1
10
e2e/rbd.go
10
e2e/rbd.go
@ -60,17 +60,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)
|
||||
@ -213,7 +213,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