diff --git a/controllers/pulsarconnection_controller.go b/controllers/pulsarconnection_controller.go index 1216c0b4..862b4908 100644 --- a/controllers/pulsarconnection_controller.go +++ b/controllers/pulsarconnection_controller.go @@ -81,7 +81,6 @@ type PulsarConnectionReconciler struct { // For more details, check Reconcile and its Result here: // - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile func (r *PulsarConnectionReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) { - pulsarConnection := &resourcev1alpha1.PulsarConnection{} if err := r.Get(ctx, req.NamespacedName, pulsarConnection); err != nil { if apierrors.IsNotFound(err) {