mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-02-20 23:56:23 +08:00
Update generated code
Kubernetes-commit: f4b8276001c5c895ae0f22c7f0ad1d987375072d
This commit is contained in:
parent
93d63d51fb
commit
282266c60f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user