We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0eac76 commit d6d7e3dCopy full SHA for d6d7e3d
dynamic/dynamicinformer/informer.go
@@ -165,8 +165,12 @@ func (d *dynamicClusterInformer) Lister() kcpcache.GenericClusterLister {
165
}
166
167
func (d *dynamicClusterInformer) Cluster(clusterName logicalcluster.Name) upstreaminformers.GenericInformer {
168
+ return d.ClusterWithContext(context.Background(), clusterName)
169
+}
170
+
171
+func (d *dynamicClusterInformer) ClusterWithContext(ctx context.Context, clusterName logicalcluster.Name) upstreaminformers.GenericInformer {
172
return &dynamicInformer{
- informer: d.Informer().Cluster(clusterName),
173
+ informer: d.Informer().ClusterWithContext(ctx, clusterName),
174
lister: d.Lister().ByCluster(clusterName),
175
176
0 commit comments