From 50487bbb5425520aba5444348a5a041e6c39a72f Mon Sep 17 00:00:00 2001 From: Yusuke Kuoka Date: Sun, 2 Aug 2020 10:38:15 +0900 Subject: [PATCH] Fix the HRA controller name --- controllers/horizontalrunnerautoscaler_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/horizontalrunnerautoscaler_controller.go b/controllers/horizontalrunnerautoscaler_controller.go index 513d4f74e5..b4c206d55f 100644 --- a/controllers/horizontalrunnerautoscaler_controller.go +++ b/controllers/horizontalrunnerautoscaler_controller.go @@ -128,7 +128,7 @@ func (r *HorizontalRunnerAutoscalerReconciler) Reconcile(req ctrl.Request) (ctrl } func (r *HorizontalRunnerAutoscalerReconciler) SetupWithManager(mgr ctrl.Manager) error { - r.Recorder = mgr.GetEventRecorderFor("runnerdeployment-controller") + r.Recorder = mgr.GetEventRecorderFor("horizontalrunnerautoscaler-controller") return ctrl.NewControllerManagedBy(mgr). For(&v1alpha1.HorizontalRunnerAutoscaler{}).