diff --git a/internal/controller/common_test.go b/internal/controller/common_test.go index 21745e4..ce0c894 100644 --- a/internal/controller/common_test.go +++ b/internal/controller/common_test.go @@ -26,9 +26,7 @@ func newFakeClient(objs ...client.Object) client.Client { } func newFakeManager() manager.Manager { - mgr, err := ctrl.NewManager(&rest.Config{}, ctrl.Options{ - Scheme: newScheme(), - }) + mgr, err := ctrl.NewManager(&rest.Config{}, ctrl.Options{Scheme: newScheme()}) if err != nil { panic(err) }