diff --git a/pkg/reconciler/events/cloudevent/cloud_event_controller_test.go b/pkg/reconciler/events/cloudevent/cloud_event_controller_test.go index 4223ce8ac85..9a87815c36e 100644 --- a/pkg/reconciler/events/cloudevent/cloud_event_controller_test.go +++ b/pkg/reconciler/events/cloudevent/cloud_event_controller_test.go @@ -732,7 +732,6 @@ func TestEmitCloudEvents(t *testing.T) { } } - func setupFakeContext(t *testing.T, behaviour FakeClientBehaviour, withClient bool, expectedEventCount int) context.Context { var ctx context.Context ctx, _ = rtesting.SetupFakeContext(t) diff --git a/pkg/reconciler/events/event.go b/pkg/reconciler/events/event.go index 2e5eacfba4b..e61a24e7994 100644 --- a/pkg/reconciler/events/event.go +++ b/pkg/reconciler/events/event.go @@ -34,4 +34,3 @@ func Emit(ctx context.Context, beforeCondition *apis.Condition, afterCondition * k8sevent.EmitK8sEvents(ctx, beforeCondition, afterCondition, object) cloudevent.EmitCloudEventsWhenConditionChange(ctx, beforeCondition, afterCondition, object) } -