Fix the HRA controller name

This commit is contained in:
Yusuke Kuoka 2020-08-02 10:38:15 +09:00
parent e2164f9946
commit 50487bbb54
1 changed files with 1 additions and 1 deletions

View File

@ -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{}).