Pass ListOptions to List in ListWatch.

This commit is contained in:
Wojciech Tyczynski
2015-12-02 16:20:48 +01:00
parent 439019cbbb
commit b0fcb5adef
38 changed files with 105 additions and 101 deletions

View File

@@ -122,7 +122,7 @@ func (f *FakeControllerSource) Change(e watch.Event, watchProbability float64) {
}
// List returns a list object, with its resource version set.
func (f *FakeControllerSource) List() (runtime.Object, error) {
func (f *FakeControllerSource) List(options unversioned.ListOptions) (runtime.Object, error) {
f.lock.RLock()
defer f.lock.RUnlock()
list := make([]runtime.Object, 0, len(f.items))