From f2b8c99effccf3ebe6ba95ec744c5cfc10634503 Mon Sep 17 00:00:00 2001 From: Lukasz Szaszkiewicz Date: Fri, 17 Oct 2025 14:35:36 +0200 Subject: [PATCH] ./hack/update-codegen.sh Kubernetes-commit: 5594d94e6716599981948d21599700d6dfe43b11 --- .../externalversions/samplecontroller/v1alpha1/foo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/generated/informers/externalversions/samplecontroller/v1alpha1/foo.go b/pkg/generated/informers/externalversions/samplecontroller/v1alpha1/foo.go index b3f20c8c..658033c2 100644 --- a/pkg/generated/informers/externalversions/samplecontroller/v1alpha1/foo.go +++ b/pkg/generated/informers/externalversions/samplecontroller/v1alpha1/foo.go @@ -57,7 +57,7 @@ func NewFooInformer(client versioned.Interface, namespace string, resyncPeriod t // one. This reduces memory footprint and number of connections to the server. func NewFilteredFooInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer { return cache.NewSharedIndexInformer( - &cache.ListWatch{ + cache.ToListWatcherWithWatchListSemantics(&cache.ListWatch{ ListFunc: func(options v1.ListOptions) (runtime.Object, error) { if tweakListOptions != nil { tweakListOptions(&options) @@ -82,7 +82,7 @@ func NewFilteredFooInformer(client versioned.Interface, namespace string, resync } return client.SamplecontrollerV1alpha1().Foos(namespace).Watch(ctx, options) }, - }, + }, client), &apissamplecontrollerv1alpha1.Foo{}, resyncPeriod, indexers,