bump go version and update dependencies

This commit is contained in:
Felix Kunde
2024-02-16 11:55:09 +01:00
parent c1bfc2c2c0
commit 4e011669a3
11 changed files with 240 additions and 563 deletions
+1 -1
View File
@@ -1163,7 +1163,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