From 54fed8ed7ef0f86caed294dc30c0ba7c077c8dea Mon Sep 17 00:00:00 2001 From: pasha-codefresh Date: Wed, 18 Sep 2024 18:56:11 +0000 Subject: [PATCH] fix notificaion controller crash loop (#19984) Signed-off-by: pashakostohrys --- cmd/argocd-notification/commands/controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/argocd-notification/commands/controller.go b/cmd/argocd-notification/commands/controller.go index 7674a1726e10b..7245a0b75a667 100644 --- a/cmd/argocd-notification/commands/controller.go +++ b/cmd/argocd-notification/commands/controller.go @@ -163,6 +163,7 @@ func NewCommand() *cobra.Command { }() go ctrl.Run(ctx, processorsCount) + <-ctx.Done() return nil }, }