diff --git a/test/infrastructure/docker/api/v1alpha4/dockercluster_webhook.go b/test/infrastructure/docker/api/v1alpha4/dockercluster_webhook.go index f4b245740305..059daded9f0a 100644 --- a/test/infrastructure/docker/api/v1alpha4/dockercluster_webhook.go +++ b/test/infrastructure/docker/api/v1alpha4/dockercluster_webhook.go @@ -29,7 +29,7 @@ var dockerclusterlog = logf.Log.WithName("dockercluster-resource") func (c *DockerCluster) SetupWebhookWithManager(mgr ctrl.Manager) error { return ctrl.NewWebhookManagedBy(mgr). - For(r). + For(c). Complete() }