Files
kubernetes/pkg
k8s-merge-robot 1effc5af91 Merge pull request #28002 from asalkeld/init-cache-error
Automatic merge from submit-queue

Fix startup type error in initializeCaches

The following error was getting logged:
PersistentVolumeController can't initialize caches, expected list of volumes, got:
&{TypeMeta:{Kind: APIVersion:} ListMeta:{SelfLink:/api/v1/persistentvolumes ResourceVersion:11} Items:[]}

The tests make extensive use of NewFakeControllerSource which uses api.List
instead of api.PersistentVolumeList. So use reflect to help iterate over the
items then assert the item type.

fixes #27757
2016-06-25 14:13:15 -07:00
..
2016-06-06 17:18:22 -04:00
2016-05-10 12:03:41 -04:00
2016-06-13 16:17:03 -07:00
2016-06-06 17:18:22 -04:00
2016-06-13 10:37:21 +02:00
2016-05-22 22:18:58 -07:00
2016-06-24 17:06:38 -04:00