From 58318ba0dc8119d22384854c8969889a3caace3a Mon Sep 17 00:00:00 2001 From: Michael Weibel Date: Fri, 9 Aug 2024 15:40:28 +0200 Subject: [PATCH] common method --- .../machinepool_deployments/machinepool_deployment_strategy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure/scope/strategies/machinepool_deployments/machinepool_deployment_strategy.go b/azure/scope/strategies/machinepool_deployments/machinepool_deployment_strategy.go index 67fcb3435d9c..a7304f090e24 100644 --- a/azure/scope/strategies/machinepool_deployments/machinepool_deployment_strategy.go +++ b/azure/scope/strategies/machinepool_deployments/machinepool_deployment_strategy.go @@ -128,7 +128,7 @@ func (rollingUpdateStrategy rollingUpdateStrategy) SelectMachinesToDelete(ctx co return orderRandom } }() - log = ctrl.LoggerFrom(ctx).V(2) + log = ctrl.LoggerFrom(ctx).V(2).WithValues("method", "selectMachinesToDelete") deleteAnnotatedMachines = order(getDeleteAnnotatedMachines(machinesByProviderID)) failedMachines = order(getFailedMachines(machinesByProviderID)) deletingMachines = order(getDeletingMachines(machinesByProviderID))