diff --git a/controllers/routingctrl/reconcile_resources.go b/controllers/routingctrl/reconcile_resources.go index 3c5213d..2143589 100644 --- a/controllers/routingctrl/reconcile_resources.go +++ b/controllers/routingctrl/reconcile_resources.go @@ -131,7 +131,7 @@ func (r *Controller) ensureResourceHasFinalizer(ctx context.Context, target *uns return nil }); err != nil { - return fmt.Errorf("failed to patch finalizer to %s (in %s): %w", + return fmt.Errorf("failed to add finalizer to %s (in %s): %w", target.GroupVersionKind().String(), target.GetNamespace(), err) } }