Merge pull request #4476 from antoineco/bug/nil-err-channel
Initialize nginx process error channel
This commit is contained in:
commit
82b241c517
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,8 @@ func NewNGINXController(config *Configuration, mc metric.Collector) *NGINXContro
|
||||||
stopCh: make(chan struct{}),
|
stopCh: make(chan struct{}),
|
||||||
updateCh: channels.NewRingChannel(1024),
|
updateCh: channels.NewRingChannel(1024),
|
||||||
|
|
||||||
|
ngxErrCh: make(chan error),
|
||||||
|
|
||||||
stopLock: &sync.Mutex{},
|
stopLock: &sync.Mutex{},
|
||||||
|
|
||||||
runningConfig: new(ingress.Configuration),
|
runningConfig: new(ingress.Configuration),
|
||||||
|
|
Loading…
Reference in a new issue