do nothing on default case in processPodEvent
This commit is contained in:
parent
bcd34c3110
commit
cc4920fb5d
|
|
@ -1046,8 +1046,8 @@ func (c *Cluster) processPodEvent(obj interface{}) error {
|
|||
select {
|
||||
case <-subscriber.stopEvent:
|
||||
c.unregisterPodSubscriber(podName)
|
||||
case subscriber.podEvents <- event:
|
||||
default:
|
||||
subscriber.podEvents <- event
|
||||
}
|
||||
}
|
||||
// hold lock for the time of processing the event to avoid race condition
|
||||
|
|
|
|||
Loading…
Reference in New Issue