mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Fixup unit tests
This commit is contained in:
@@ -32,7 +32,7 @@ type testEventRecorder struct {
|
||||
}
|
||||
|
||||
// CreateEvent records the event for testing.
|
||||
func (t *testEventRecorder) CreateEvent(e *api.Event) (*api.Event, error) {
|
||||
func (t *testEventRecorder) Create(e *api.Event) (*api.Event, error) {
|
||||
if t.OnEvent != nil {
|
||||
return t.OnEvent(e)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user