Skip to content

Commit

Permalink
minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
jmnote committed Aug 11, 2024
1 parent ed97733 commit f1970c8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/controller/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ func newFakeClient(objs ...client.Object) client.Client {
}

func newFakeManager() manager.Manager {
fakeConfig := &rest.Config{
Host: "https://fake-api-server",
}
mgr, err := ctrl.NewManager(fakeConfig, ctrl.Options{
mgr, err := ctrl.NewManager(&rest.Config{}, ctrl.Options{
Scheme: newScheme(),
})
if err != nil {
Expand Down

0 comments on commit f1970c8

Please sign in to comment.