Skip syncing Pods

This commit is contained in:
Murat Kabilov
2017-05-12 11:41:33 +02:00
parent 655f6dcadb
commit db53134cbd
6 changed files with 7 additions and 124 deletions
-2
View File
@@ -124,8 +124,6 @@ func (c *Controller) podEventsDispatcher(stopCh <-chan struct{}) {
if subscriber, ok := c.clusters[event.ClusterName]; ok {
c.logger.Debugf("Sending %s event of Pod '%s' to the '%s' cluster channel", event.EventType, event.PodName, event.ClusterName)
go subscriber.ReceivePodEvent(event)
} else {
c.logger.Debugf("Skipping %s event of the '%s' pod", event.EventType, event.PodName)
}
case <-stopCh:
return