mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 22:05:59 +00:00
test: fix typo in chaosmonkey.go
defered -> deferred
This commit is contained in:
parent
cf3374e434
commit
7baa7dbdbe
@ -95,7 +95,7 @@ func (cm *Chaosmonkey) Do() {
|
|||||||
for _, sem := range sems {
|
for _, sem := range sems {
|
||||||
// Wait for test to be ready. We have to wait for ready *or done* because a test
|
// Wait for test to be ready. We have to wait for ready *or done* because a test
|
||||||
// may panic before signaling that its ready, and we shouldn't block. Since we
|
// may panic before signaling that its ready, and we shouldn't block. Since we
|
||||||
// defered sem.done() above, if a test panics, it's marked as done.
|
// deferred sem.done() above, if a test panics, it's marked as done.
|
||||||
sem.waitForReadyOrDone()
|
sem.waitForReadyOrDone()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user