From 17eb2eed34291754f3cd5b659908585248450ef6 Mon Sep 17 00:00:00 2001 From: Kevin Lyda Date: Wed, 14 May 2025 12:48:13 +0100 Subject: [PATCH] Prepare for the k8s api upgrade (#7293) Don't explicitly set `RetryOnError` to `false`. It won't exist in the next version of the k8s api and it won't make a difference in this code since the struct would default to that. Signed-off-by: Kevin Lyda --- plugin/kubernetes/object/informer.go | 1 - 1 file changed, 1 deletion(-) diff --git a/plugin/kubernetes/object/informer.go b/plugin/kubernetes/object/informer.go index cac5bcd08..d9d87283f 100644 --- a/plugin/kubernetes/object/informer.go +++ b/plugin/kubernetes/object/informer.go @@ -17,7 +17,6 @@ func NewIndexerInformer(lw cache.ListerWatcher, objType runtime.Object, h cache. ListerWatcher: lw, ObjectType: objType, FullResyncPeriod: defaultResyncPeriod, - RetryOnError: false, Process: builder(clientState, h), } return clientState, cache.New(cfg)