-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
Bug Report
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.
tvoran, Jay-Madden and muhammadnmuhammad01
Metadata
Metadata
Assignees
Labels
No labels