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 <kevin@lyda.ie>
This commit is contained in:
Kevin Lyda
2025-05-14 12:48:13 +01:00
committed by GitHub
parent 85ee6b8eea
commit 17eb2eed34

View File

@@ -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)