From fcf96a55c7f0a944218403f8bab8c861ea13c0e1 Mon Sep 17 00:00:00 2001 From: Stefan Bueringer Date: Fri, 27 Aug 2021 09:04:51 +0200 Subject: [PATCH] CAPD: fix panic in DockerMachinePool reconcilation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Büringer buringerst@vmware.com --- .../docker/exp/controllers/dockermachinepool_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/infrastructure/docker/exp/controllers/dockermachinepool_controller.go b/test/infrastructure/docker/exp/controllers/dockermachinepool_controller.go index b682fa6594c5..ce95b970e893 100644 --- a/test/infrastructure/docker/exp/controllers/dockermachinepool_controller.go +++ b/test/infrastructure/docker/exp/controllers/dockermachinepool_controller.go @@ -55,7 +55,7 @@ type DockerMachinePoolReconciler struct { // +kubebuilder:rbac:groups="",resources=secrets;,verbs=get;list;watch func (r *DockerMachinePoolReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, rerr error) { - log := ctrl.LoggerFrom(ctx, "docker-machine-pool", req.NamespacedName) + log := ctrl.LoggerFrom(ctx) // Fetch the DockerMachinePool instance. dockerMachinePool := &infrav1exp.DockerMachinePool{}