From f1970c8b18bb3558f594e6b255db6b670afb8850 Mon Sep 17 00:00:00 2001 From: jmnote Date: Sun, 11 Aug 2024 10:10:16 +0000 Subject: [PATCH] minor edit --- internal/controller/common_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/internal/controller/common_test.go b/internal/controller/common_test.go index d51c0b4..21745e4 100644 --- a/internal/controller/common_test.go +++ b/internal/controller/common_test.go @@ -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 {