mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
fix some typos in recycle_test.go
This commit is contained in:
parent
d266b79a39
commit
cdcf1c0ea2
@ -149,7 +149,7 @@ func TestRecycleSync(t *testing.T) {
|
|||||||
noevents, noerrors,
|
noevents, noerrors,
|
||||||
wrapTestWithInjectedOperation(wrapTestWithReclaimCalls(operationRecycle, []error{}, testSyncVolume), func(ctrl *PersistentVolumeController, reactor *pvtesting.VolumeReactor) {
|
wrapTestWithInjectedOperation(wrapTestWithReclaimCalls(operationRecycle, []error{}, testSyncVolume), func(ctrl *PersistentVolumeController, reactor *pvtesting.VolumeReactor) {
|
||||||
// Mark the volume as Available before the recycler starts
|
// Mark the volume as Available before the recycler starts
|
||||||
reactor.MarkVolumeAvaiable("volume6-7")
|
reactor.MarkVolumeAvailable("volume6-7")
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -165,7 +165,7 @@ func TestRecycleSync(t *testing.T) {
|
|||||||
noevents, noerrors,
|
noevents, noerrors,
|
||||||
wrapTestWithInjectedOperation(wrapTestWithReclaimCalls(operationRecycle, []error{}, testSyncVolume), func(ctrl *PersistentVolumeController, reactor *pvtesting.VolumeReactor) {
|
wrapTestWithInjectedOperation(wrapTestWithReclaimCalls(operationRecycle, []error{}, testSyncVolume), func(ctrl *PersistentVolumeController, reactor *pvtesting.VolumeReactor) {
|
||||||
// Mark the volume as Available before the recycler starts
|
// Mark the volume as Available before the recycler starts
|
||||||
reactor.MarkVolumeAvaiable("volume6-8")
|
reactor.MarkVolumeAvailable("volume6-8")
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user