mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Merge pull request #15705 from wojtek-t/watch_options_in_client
Auto commit by PR queue bot
This commit is contained in:
@@ -225,7 +225,8 @@ var _ = Describe("DaemonRestart", func() {
|
||||
return framework.Client.Pods(ns).List(labelSelector, fields.Everything())
|
||||
},
|
||||
WatchFunc: func(rv string) (watch.Interface, error) {
|
||||
return framework.Client.Pods(ns).Watch(labelSelector, fields.Everything(), rv)
|
||||
options := api.ListOptions{ResourceVersion: rv}
|
||||
return framework.Client.Pods(ns).Watch(labelSelector, fields.Everything(), options)
|
||||
},
|
||||
},
|
||||
&api.Pod{},
|
||||
|
||||
Reference in New Issue
Block a user