Skip to content

Commit

Permalink
Update controllers/notificationpolicy_controller.go
Browse files Browse the repository at this point in the history
Co-authored-by: Steffen Baarsgaard <[email protected]>
  • Loading branch information
msvechla and Baarsgaard authored Jan 27, 2025
1 parent b79554d commit 6a702e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/notificationpolicy_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 6a702e7

Please sign in to comment.