Skip to content

Commit

Permalink
fix: remove unneeded change
Browse files Browse the repository at this point in the history
  • Loading branch information
mrueg committed Aug 19, 2024
1 parent a08c6b8 commit 487fc1f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/store/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,7 @@ func (b *Builder) buildStores(
if b.fieldSelectorFilter != "" {
klog.InfoS("FieldSelector is used", "fieldSelector", b.fieldSelectorFilter)
}
kubeClient := b.kubeClient
listWatcher := listWatchFunc(kubeClient, v1.NamespaceAll, b.fieldSelectorFilter)
listWatcher := listWatchFunc(b.kubeClient, v1.NamespaceAll, b.fieldSelectorFilter)
b.startReflector(expectedType, store, listWatcher, useAPIServerCache)
return []cache.Store{store}
}
Expand Down

0 comments on commit 487fc1f

Please sign in to comment.