diff --git a/ray-operator/controllers/ray/rayservice_controller_unit_test.go b/ray-operator/controllers/ray/rayservice_controller_unit_test.go index aa19ff63cdf..5065fc76080 100644 --- a/ray-operator/controllers/ray/rayservice_controller_unit_test.go +++ b/ray-operator/controllers/ray/rayservice_controller_unit_test.go @@ -2634,7 +2634,7 @@ func TestHandleSuspendResumeResetsReadyToInitializing(t *testing.T) { r := &RayServiceReconciler{ Client: fakeClient, Scheme: scheme.Scheme, - Recorder: record.NewFakeRecorder(10), + Recorder: events.NewFakeRecorder(10), } _, err := r.handleSuspend(ctx, rs)