Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running informer #45

Open
dharunt opened this issue May 10, 2023 · 0 comments
Open

Error while running informer #45

dharunt opened this issue May 10, 2023 · 0 comments

Comments

@dharunt
Copy link

dharunt commented May 10, 2023

../../../go/pkg/mod/github.com/maistra/xns-informer@v0.0.0-20230213111714-f8d2c0b0070d/pkg/informers/informer.go:52:35: cannot use &multiNamespaceInformer{} (value of type *multiNamespaceInformer) as "[k8s.io/client-go/tools/cache](http://k8s.io/client-go/tools/cache)".SharedIndexInformer value in variable declaration: *multiNamespaceInformer does not implement "[k8s.io/client-go/tools/cache](http://k8s.io/client-go/tools/cache)".SharedIndexInformer (wrong type for method AddEventHandler) have AddEventHandler("[k8s.io/client-go/tools/cache](http://k8s.io/client-go/tools/cache)".ResourceEventHandler) want AddEventHandler("[k8s.io/client-go/tools/cache](http://k8s.io/client-go/tools/cache)".ResourceEventHandler) ("[k8s.io/client-go/tools/cache](http://k8s.io/client-go/tools/cache)".ResourceEventHandlerRegistration, error) ../../../go/pkg/mod/github.com/maistra/xns-informer@v0.0.0-20230213111714-f8d2c0b0070d/pkg/informers/informer.go:73:9: cannot use informer (variable of type *multiNamespaceInformer) as MultiNamespaceInformer value in return statement: *multiNamespaceInformer does not implement MultiNamespaceInformer (wrong type for method AddEventHandler) have AddEventHandler("[k8s.io/client-go/tools/cache](http://k8s.io/client-go/tools/cache)".ResourceEventHandler) want AddEventHandler("[k8s.io/client-go/tools/cache](http://k8s.io/client-go/tools/cache)".ResourceEventHandler) ("[k8s.io/client-go/tools/cache](http://k8s.io/client-go/tools/cache)".ResourceEventHandlerRegistration, error)

i'm using [github.com/maistra/xns-informer](http://github.com/maistra/xns-informer) v0.0.0-20230213111714-f8d2c0b0070d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant