update go and dependencies (#2554)

This commit is contained in:
Felix Kunde
2024-02-23 13:58:11 +01:00
committed by GitHub
parent 3fb3b34094
commit 23f4fdb327
15 changed files with 206 additions and 532 deletions
+1 -1
View File
@@ -1181,7 +1181,7 @@ func (c *Cluster) ReceivePodEvent(event PodEvent) {
}
}
func (c *Cluster) processPodEvent(obj interface{}) error {
func (c *Cluster) processPodEvent(obj interface{}, isInInitialList bool) error {
event, ok := obj.(PodEvent)
if !ok {
return fmt.Errorf("could not cast to PodEvent")
+1 -1
View File
@@ -362,7 +362,7 @@ func (c *Controller) processClusterEventsQueue(idx int, stopCh <-chan struct{},
}()
for {
obj, err := c.clusterEventQueues[idx].Pop(cache.PopProcessFunc(func(interface{}) error { return nil }))
obj, err := c.clusterEventQueues[idx].Pop(cache.PopProcessFunc(func(interface{}, bool) error { return nil }))
if err != nil {
if err == cache.ErrFIFOClosed {
return