diff --git a/pkg/build/controller/buildpod/buildpod_controller_test.go b/pkg/build/controller/buildpod/buildpod_controller_test.go index 59c7517c76c0..ab5bc24a389f 100644 --- a/pkg/build/controller/buildpod/buildpod_controller_test.go +++ b/pkg/build/controller/buildpod/buildpod_controller_test.go @@ -340,6 +340,7 @@ type fakeIndexer struct { } func (*fakeIndexer) Index(indexName string, obj interface{}) ([]interface{}, error) { return nil, nil } +func (*fakeIndexer) IndexKeys(indexName, indexKey string) ([]string, error) { return nil, nil } func (*fakeIndexer) ListIndexFuncValues(indexName string) []string { return nil } func (*fakeIndexer) ByIndex(indexName, indexKey string) ([]interface{}, error) { return nil, nil } func (*fakeIndexer) GetIndexers() cache.Indexers { return nil }