From b7b1baf56583ec9a96a7a818c39f996942c7c8c7 Mon Sep 17 00:00:00 2001 From: James Munnelly Date: Thu, 6 Jan 2022 13:18:57 +0000 Subject: [PATCH] Fix call to NewTestLogger after logr upgrade Signed-off-by: James Munnelly --- test/integration/ctl/migrate/ctl_upgrade_migrate_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/ctl/migrate/ctl_upgrade_migrate_test.go b/test/integration/ctl/migrate/ctl_upgrade_migrate_test.go index 9b470e129..b9f553357 100644 --- a/test/integration/ctl/migrate/ctl_upgrade_migrate_test.go +++ b/test/integration/ctl/migrate/ctl_upgrade_migrate_test.go @@ -77,7 +77,7 @@ func TestCtlUpgradeMigrate(t *testing.T) { crdName := "testtypes.testgroup.testing.cert-manager.io" restCfg, stop := framework.RunControlPlane(t, context.Background(), framework.WithCRDDirectory("../../../../pkg/webhook/handlers/testdata/apis/testgroup/crds"), - framework.WithWebhookConversionHandler(handlers.NewSchemeBackedConverter(testlogger.TestLogger{T: t}, scheme))) + framework.WithWebhookConversionHandler(handlers.NewSchemeBackedConverter(testlogger.NewTestLogger(t), scheme))) defer stop() // Ensure the OpenAPI endpoint has been updated with the TestType CRD