mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-25 20:29:56 +00:00
Switch to versioned ListOptions in client.
This commit is contained in:
@@ -53,7 +53,7 @@ var _ = Describe("Pod Disks", func() {
|
||||
|
||||
podClient = framework.Client.Pods(framework.Namespace.Name)
|
||||
|
||||
nodes, err := framework.Client.Nodes().List(unversioned.ListOptions{})
|
||||
nodes, err := framework.Client.Nodes().List(api.ListOptions{})
|
||||
expectNoError(err, "Failed to list nodes for e2e cluster.")
|
||||
|
||||
Expect(len(nodes.Items)).To(BeNumerically(">=", 2), "Requires at least 2 nodes")
|
||||
|
Reference in New Issue
Block a user