This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit ad7ba272c4d720fad08c41a3fda58a67489598cd
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Fri Aug 2 14:35:44 2024 +0200

    chore: remove deprecated unused code
---
 pkg/client/camel/informers/externalversions/factory.go | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/pkg/client/camel/informers/externalversions/factory.go 
b/pkg/client/camel/informers/externalversions/factory.go
index f7c93892a..99956bea6 100644
--- a/pkg/client/camel/informers/externalversions/factory.go
+++ b/pkg/client/camel/informers/externalversions/factory.go
@@ -95,13 +95,6 @@ func NewSharedInformerFactory(client versioned.Interface, 
defaultResync time.Dur
        return NewSharedInformerFactoryWithOptions(client, defaultResync)
 }
 
-// NewFilteredSharedInformerFactory constructs a new instance of 
sharedInformerFactory.
-// Listers obtained via this SharedInformerFactory will be subject to the same 
filters
-// as specified here.
-// Deprecated: Please use NewSharedInformerFactoryWithOptions instead
-func NewFilteredSharedInformerFactory(client versioned.Interface, 
defaultResync time.Duration, namespace string, tweakListOptions 
internalinterfaces.TweakListOptionsFunc) SharedInformerFactory {
-       return NewSharedInformerFactoryWithOptions(client, defaultResync, 
WithNamespace(namespace), WithTweakListOptions(tweakListOptions))
-}
 
 // NewSharedInformerFactoryWithOptions constructs a new instance of a 
SharedInformerFactory with additional options.
 func NewSharedInformerFactoryWithOptions(client versioned.Interface, 
defaultResync time.Duration, options ...SharedInformerOption) 
SharedInformerFactory {

Reply via email to