Skip to content

Commit

Permalink
test/e2e: drop utils/kubeletconfig.go
Browse files Browse the repository at this point in the history
The required fix is in kubernetes v1.25.0 so we can drop this local
copy.
  • Loading branch information
marquiz committed Sep 9, 2022
1 parent 449b0b2 commit c09225f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 151 deletions.
3 changes: 2 additions & 1 deletion test/e2e/topology_updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,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"
e2enetwork "k8s.io/kubernetes/test/e2e/framework/network"

testutils "sigs.k8s.io/node-feature-discovery/test/e2e/utils"
Expand Down Expand Up @@ -103,7 +104,7 @@ var _ = SIGDescribe("Node Feature Discovery topology updater", func() {
topologyUpdaterNode, err = f.ClientSet.CoreV1().Nodes().Get(context.TODO(), pods.Items[0].Spec.NodeName, metav1.GetOptions{})
Expect(err).NotTo(HaveOccurred())

kubeletConfig, err = testutils.GetCurrentKubeletConfig(topologyUpdaterNode.Name, "", true)
kubeletConfig, err = kubelet.GetCurrentKubeletConfig(topologyUpdaterNode.Name, "", true)
Expect(err).NotTo(HaveOccurred())

workerNodes, err = testutils.GetWorkerNodes(f)
Expand Down
150 changes: 0 additions & 150 deletions test/e2e/utils/kubeletconfig.go

This file was deleted.

0 comments on commit c09225f

Please sign in to comment.