From 713fa91447b8068491cf9051327b3ff8615710cc Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Wed, 16 Aug 2023 12:43:52 +0300 Subject: [PATCH] test/e2e: align with latest kubernetes code base (cherry picked from commit 2e79a015f5638c06e4bc555ec76963f4217719ef) --- test/e2e/topology_updater_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/topology_updater_test.go b/test/e2e/topology_updater_test.go index 547dac1ee..a85646bea 100644 --- a/test/e2e/topology_updater_test.go +++ b/test/e2e/topology_updater_test.go @@ -36,7 +36,7 @@ import ( "k8s.io/apimachinery/pkg/labels" kubeletconfig "k8s.io/kubernetes/pkg/kubelet/apis/config" "k8s.io/kubernetes/test/e2e/framework" - "k8s.io/kubernetes/test/e2e/framework/kubelet" + e2ekubeletconfig "k8s.io/kubernetes/test/e2e_node/kubeletconfig" admissionapi "k8s.io/pod-security-admission/api" e2epod "k8s.io/kubernetes/test/e2e/framework/pod" @@ -91,7 +91,7 @@ var _ = SIGDescribe("NFD topology updater", func() { topologyUpdaterNode, err = f.ClientSet.CoreV1().Nodes().Get(ctx, pods.Items[0].Spec.NodeName, metav1.GetOptions{}) Expect(err).NotTo(HaveOccurred()) - kubeletConfig, err = kubelet.GetCurrentKubeletConfig(ctx, topologyUpdaterNode.Name, "", true, false) + kubeletConfig, err = e2ekubeletconfig.GetCurrentKubeletConfig(ctx, topologyUpdaterNode.Name, "", true, false) Expect(err).NotTo(HaveOccurred()) workerNodes, err = testutils.GetWorkerNodes(ctx, f)