Update generated code

Kubernetes-commit: f4b8276001c5c895ae0f22c7f0ad1d987375072d
This commit is contained in:
Dr. Stefan Schimanski 2017-11-02 16:48:22 +01:00 committed by Kubernetes Publisher
parent 93d63d51fb
commit 282266c60f

View File

@ -51,7 +51,7 @@ func (f *genericInformer) Lister() cache.GenericLister {
// TODO extend this to unknown resources with a client pool
func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource) (GenericInformer, error) {
switch resource {
// Group=Samplecontroller, Version=V1alpha1
// Group=samplecontroller.k8s.io, Version=v1alpha1
case v1alpha1.SchemeGroupVersion.WithResource("foos"):
return &genericInformer{resource: resource.GroupResource(), informer: f.Samplecontroller().V1alpha1().Foos().Informer()}, nil