mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Switch to versioned ListOptions in client.
This commit is contained in:
@@ -136,7 +136,7 @@ var _ = Describe("Networking", func() {
|
||||
|
||||
By("Creating a webserver (pending) pod on each node")
|
||||
|
||||
nodes, err := f.Client.Nodes().List(unversioned.ListOptions{})
|
||||
nodes, err := f.Client.Nodes().List(api.ListOptions{})
|
||||
if err != nil {
|
||||
Failf("Failed to list nodes: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user