mirror of
https://github.com/wahyd4/cert-manager.git
synced 2026-08-09 13:16:20 +10:00
spelling: coerce
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
@@ -23,7 +23,7 @@ import (
|
||||
|
||||
// For mocking purposes.
|
||||
// This little bit of wrapping needs to be done because go doesn't do
|
||||
// covariance, but it does coerse *time.Timer into stoppable implicitly if we
|
||||
// covariance, but it does coerce *time.Timer into stoppable implicitly if we
|
||||
// write it out like so.
|
||||
var afterFunc = func(d time.Duration, f func()) stoppable {
|
||||
return time.AfterFunc(d, f)
|
||||
|
||||
Reference in New Issue
Block a user