fix: Start syncEndpoints when coutch Endpoint event
Signed-off-by: zvlb <vl.zemtsov@gmail.com>
This commit is contained in:
parent
dea9975dc7
commit
52dbfe3fac
1 changed files with 5 additions and 0 deletions
|
@ -362,6 +362,11 @@ func (n *NGINXController) Start() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if evt.Type == store.EndpointEvent {
|
||||||
|
n.syncEndpointsQueue.EnqueueTask(evt.Obj)
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
n.syncQueue.EnqueueSkippableTask(evt.Obj)
|
n.syncQueue.EnqueueSkippableTask(evt.Obj)
|
||||||
} else {
|
} else {
|
||||||
klog.Warningf("Unexpected event type received %T", event)
|
klog.Warningf("Unexpected event type received %T", event)
|
||||||
|
|
Loading…
Reference in a new issue