What happened?
I was trying to update upjet to v1.4.2 and stumbled upon the following error:
github.com/crossplane/upjet/pkg/controller/handler
# github.com/crossplane/upjet/pkg/controller/handler
../../go/pkg/mod/github.com/crossplane/upjet@v1.4.2/pkg/controller/handler/eventhandler.go:114:33: cannot use limitingInterface (variable of type workqueue.RateLimitingInterface) as workqueue.TypedRateLimitingInterface[reconcile.Request] value in argument to e.innerHandler.Create: workqueue.RateLimitingInterface does not implement workqueue.TypedRateLimitingInterface[reconcile.Request] (wrong type for method Add)
have Add(any)
want Add(reconcile.Request)
../../go/pkg/mod/github.com/crossplane/upjet@v1.4.2/pkg/controller/handler/eventhandler.go:120:33: cannot use limitingInterface (variable of type workqueue.RateLimitingInterface) as workqueue.TypedRateLimitingInterface[reconcile.Request] value in argument to e.innerHandler.Update: workqueue.RateLimitingInterface does not implement workqueue.TypedRateLimitingInterface[reconcile.Request] (wrong type for method Add)
have Add(any)
want Add(reconcile.Request)
../../go/pkg/mod/github.com/crossplane/upjet@v1.4.2/pkg/controller/handler/eventhandler.go:126:33: cannot use limitingInterface (variable of type workqueue.RateLimitingInterface) as workqueue.TypedRateLimitingInterface[reconcile.Request] value in argument to e.innerHandler.Delete: workqueue.RateLimitingInterface does not implement workqueue.TypedRateLimitingInterface[reconcile.Request] (wrong type for method Add)
have Add(any)
want Add(reconcile.Request)
../../go/pkg/mod/github.com/crossplane/upjet@v1.4.2/pkg/controller/handler/eventhandler.go:132:34: cannot use limitingInterface (variable of type workqueue.RateLimitingInterface) as workqueue.TypedRateLimitingInterface[reconcile.Request] value in argument to e.innerHandler.Generic: workqueue.RateLimitingInterface does not implement workqueue.TypedRateLimitingInterface[reconcile.Request] (wrong type for method Add)
have Add(any)
want Add(reconcile.Request)
How can we reproduce it?
You can checkout my branch and try to run a make build: scaleway/crossplane-provider-scaleway#123
What happened?
I was trying to update upjet to
v1.4.2and stumbled upon the following error:How can we reproduce it?
You can checkout my branch and try to run a
make build: scaleway/crossplane-provider-scaleway#123