Просмотр исходного кода

Changed event recorder spelling for pushsecret

William Young 4 лет назад
Родитель
Сommit
9f36a8bf6d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pkg/controllers/pushsecret/pushsecret_controller.go

+ 1 - 1
pkg/controllers/pushsecret/pushsecret_controller.go

@@ -177,7 +177,7 @@ func (r *Reconciler) GetSecretStores(ctx context.Context, ps esapi.PushSecret) (
 }
 
 func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error {
-	r.recorder = mgr.GetEventRecorderFor("push-secret")
+	r.recorder = mgr.GetEventRecorderFor("pushsecret")
 
 	return ctrl.NewControllerManagedBy(mgr).
 		For(&esapi.PushSecret{}).