From 420aa09019a327e3b79865f12a6b362281e905ed Mon Sep 17 00:00:00 2001 From: clyi Date: Thu, 5 Dec 2024 10:53:34 +0800 Subject: [PATCH] remove no need code Signed-off-by: clyi --- pkg/controller/pod.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/controller/pod.go b/pkg/controller/pod.go index 2234b2f7be7..42ed9191c4a 100644 --- a/pkg/controller/pod.go +++ b/pkg/controller/pod.go @@ -514,8 +514,6 @@ func (c *Controller) reconcileAllocateSubnets(cachedPod, pod *v1.Pod, needAlloca var err error var vmKey string - // var isMigrate, migrated, migratedFail bool - // var vmKey, srcNodeName, targetNodeName string if isVMPod && c.config.EnableKeepVMIP { vmKey = fmt.Sprintf("%s/%s", namespace, vmName) }