From 1f7495dd8851c55c68f17bdde624777bb8c48af4 Mon Sep 17 00:00:00 2001 From: bobz965 Date: Tue, 21 May 2024 11:53:01 +0000 Subject: [PATCH] fix: should update subnet status after change vm subnet Signed-off-by: bobz965 --- pkg/controller/pod.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/controller/pod.go b/pkg/controller/pod.go index 7d0f1b0aa79..b98dc5a2414 100644 --- a/pkg/controller/pod.go +++ b/pkg/controller/pod.go @@ -561,6 +561,7 @@ func (c *Controller) changeVMSubnet(vmName, namespace, providerName, subnetName return err } } + c.updateSubnetStatusQueue.Add(ipCR.Spec.Subnet) // handleAddOrUpdatePod will create new lsp and new ip cr } return nil