From 76031bc1e5307faadf8f1a6b8f273a99ba04cb17 Mon Sep 17 00:00:00 2001 From: Jon Huhn Date: Mon, 5 Aug 2024 16:28:05 +0000 Subject: [PATCH] eliminate unnecessary tag updates to VMSS resources --- azure/scope/machinepool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure/scope/machinepool.go b/azure/scope/machinepool.go index 7b898211e72..3245264cefb 100644 --- a/azure/scope/machinepool.go +++ b/azure/scope/machinepool.go @@ -210,7 +210,7 @@ func (m *MachinePoolScope) ScaleSetSpec(ctx context.Context) azure.ResourceSpecG SubscriptionID: m.SubscriptionID(), HasReplicasExternallyManaged: m.HasReplicasExternallyManaged(ctx), ClusterName: m.ClusterName(), - AdditionalTags: m.AzureMachinePool.Spec.AdditionalTags, + AdditionalTags: m.AdditionalTags(), PlatformFaultDomainCount: m.AzureMachinePool.Spec.PlatformFaultDomainCount, ZoneBalance: m.AzureMachinePool.Spec.ZoneBalance, }