mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 11:25:19 +00:00
update testclient for delegating reaction chain
This commit is contained in:
@@ -72,6 +72,5 @@ func (c *FakeEndpoints) Delete(name string) error {
|
||||
}
|
||||
|
||||
func (c *FakeEndpoints) Watch(label labels.Selector, field fields.Selector, resourceVersion string) (watch.Interface, error) {
|
||||
c.Fake.Invokes(NewWatchAction("endpoints", c.Namespace, label, field, resourceVersion), nil)
|
||||
return c.Fake.Watch, c.Fake.Err()
|
||||
return c.Fake.InvokesWatch(NewWatchAction("endpoints", c.Namespace, label, field, resourceVersion))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user