From 6a702e77dfc7cee10930a5433fa5ac78733ff27d Mon Sep 17 00:00:00 2001 From: msvechla Date: Mon, 27 Jan 2025 09:28:51 +0100 Subject: [PATCH] Update controllers/notificationpolicy_controller.go Co-authored-by: Steffen Baarsgaard --- controllers/notificationpolicy_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/notificationpolicy_controller.go b/controllers/notificationpolicy_controller.go index 007a67dca..291aafd5c 100644 --- a/controllers/notificationpolicy_controller.go +++ b/controllers/notificationpolicy_controller.go @@ -142,7 +142,7 @@ func (r *GrafanaNotificationPolicyReconciler) Reconcile(ctx context.Context, req assembledNotificationPolicy, mergedRoutes, err = assembleNotificationPolicyRoutes(ctx, r.Client, namespace, assembledNotificationPolicy) if err != nil { applyErrors[globalApplyError] = err.Error() - return ctrl.Result{Requeue: false}, fmt.Errorf("failed to assemble GrafanaNotificationPolicy using routeSelectors: %w", err) + return ctrl.Result{}, fmt.Errorf("failed to assemble GrafanaNotificationPolicy using routeSelectors: %w", err) } }