From d1feb65ff9afe8d15db26ff45c3845bbdd8d8a7f Mon Sep 17 00:00:00 2001 From: Antoine Cotten Date: Thu, 22 Aug 2019 16:25:47 +0200 Subject: [PATCH] Initialize nginx process error channel goroutines that write to ngxErrCh remain asleep forever without that necessary initialization. --- internal/ingress/controller/nginx.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/ingress/controller/nginx.go b/internal/ingress/controller/nginx.go index 4d4c3328c..382267ab6 100644 --- a/internal/ingress/controller/nginx.go +++ b/internal/ingress/controller/nginx.go @@ -101,6 +101,8 @@ func NewNGINXController(config *Configuration, mc metric.Collector, fs file.File stopCh: make(chan struct{}), updateCh: channels.NewRingChannel(1024), + ngxErrCh: make(chan error), + stopLock: &sync.Mutex{}, fileSystem: fs,