add comments and fix unit test

This commit is contained in:
Raunak Pradip Shah
2023-12-07 09:20:11 -08:00
parent 875662b365
commit 47e71db17f
2 changed files with 8 additions and 3 deletions

View File

@@ -1271,7 +1271,7 @@ func testAddSingleSnapshotFinalizer(ctrl *csiSnapshotCommonController, reactor *
}
func testRemoveSnapshotFinalizer(ctrl *csiSnapshotCommonController, reactor *snapshotReactor, test controllerTest) error {
return ctrl.removeSnapshotFinalizer(test.initialSnapshots[0], true, true)
return ctrl.removeSnapshotFinalizer(test.initialSnapshots[0], true, true, false)
}
func testUpdateSnapshotClass(ctrl *csiSnapshotCommonController, reactor *snapshotReactor, test controllerTest) error {