Merge pull request #4476 from antoineco/bug/nil-err-channel

Initialize nginx process error channel
This commit is contained in:
Kubernetes Prow Robot 2019-08-22 09:46:33 -07:00 committed by GitHub
commit 82b241c517
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,6 +96,8 @@ func NewNGINXController(config *Configuration, mc metric.Collector) *NGINXContro
stopCh: make(chan struct{}),
updateCh: channels.NewRingChannel(1024),
ngxErrCh: make(chan error),
stopLock: &sync.Mutex{},
runningConfig: new(ingress.Configuration),