From 57e6569a13f06f169dfb6d132bfb23f89f3bcb41 Mon Sep 17 00:00:00 2001 From: pashakostohrys Date: Wed, 18 Sep 2024 21:00:59 +0300 Subject: [PATCH] fix notificaion controller crash loop 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 }, }