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 }, }