You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do?
While building one operator using operator-lib 0.11.0 and controller-gen 0.15.0, the following build error is thrown:
# github.com/operator-framework/operator-lib/internal/annotation
../../gopath/pkg/mod/github.com/operator-framework/operator-lib@v0.11.0/internal/annotation/filter.go:90:15: cannot use func(evt event.CreateEvent, q workqueue.RateLimitingInterface) {…} (value of type func(evt event.CreateEvent, q workqueue.RateLimitingInterface)) as func(context.Context, event.CreateEvent, workqueue.RateLimitingInterface) value in struct literal
../../gopath/pkg/mod/github.com/operator-framework/operator-lib@v0.11.0/internal/annotation/filter.go:92:24: not enough arguments in call to f.hdlr.Create
have (event.CreateEvent, workqueue.RateLimitingInterface)
want (context.Context, event.CreateEvent, workqueue.RateLimitingInterface)
../../gopath/pkg/mod/github.com/operator-framework/operator-lib@v0.11.0/internal/annotation/filter.go:95:15: cannot use func(evt event.UpdateEvent, q workqueue.RateLimitingInterface) {…} (value of type func(evt event.UpdateEvent, q workqueue.RateLimitingInterface)) as func(context.Context, event.UpdateEvent, workqueue.RateLimitingInterface) value in struct literal
../../gopath/pkg/mod/github.com/operator-framework/operator-lib@v0.11.0/internal/annotation/filter.go:97:24: not enough arguments in call to f.hdlr.Update
have (event.UpdateEvent, workqueue.RateLimitingInterface)
want (context.Context, event.UpdateEvent, workqueue.RateLimitingInterface)
../../gopath/pkg/mod/github.com/operator-framework/operator-lib@v0.11.0/internal/annotation/filter.go:100:15: cannot use func(evt event.DeleteEvent, q workqueue.RateLimitingInterface) {…} (value of type func(evt event.DeleteEvent, q workqueue.RateLimitingInterface)) as func(context.Context, event.DeleteEvent, workqueue.RateLimitingInterface) value in struct literal
../../gopath/pkg/mod/github.com/operator-framework/operator-lib@v0.11.0/internal/annotation/filter.go:102:24: not enough arguments in call to f.hdlr.Delete
have (event.DeleteEvent, workqueue.RateLimitingInterface)
want (context.Context, event.DeleteEvent, workqueue.RateLimitingInterface)
../../gopath/pkg/mod/github.com/operator-framework/operator-lib@v0.11.0/internal/annotation/filter.go:105:16: cannot use func(evt event.GenericEvent, q workqueue.RateLimitingInterface) {…} (value of type func(evt event.GenericEvent, q workqueue.RateLimitingInterface)) as func(context.Context, event.GenericEvent, workqueue.RateLimitingInterface) value in struct literal
../../gopath/pkg/mod/github.com/operator-framework/operator-lib@v0.11.0/internal/annotation/filter.go:107:25: not enough arguments in call to f.hdlr.Generic
have (event.GenericEvent, workqueue.RateLimitingInterface)
want (context.Context, event.GenericEvent, workqueue.RateLimitingInterface)
Possible Solution
I think this was solved in #114 but we need one release of the package.
The text was updated successfully, but these errors were encountered:
cc: @rashmigottipati (since you did the last merge) can we cut a release ? Not sure if there is something blocking thats preventing us from releasing ?
Bug Report
What did you do?
While building one operator using
operator-lib
0.11.0 andcontroller-gen
0.15.0, the following build error is thrown:Possible Solution
I think this was solved in #114 but we need one release of the package.
The text was updated successfully, but these errors were encountered: