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 ebbecee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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
2 changes: 1 addition & 1 deletion pkg/sharding/listwatch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
func TestSharding(t *testing.T) {
cm := &v1.Pod{
ObjectMeta: metav1.ObjectMeta{
Name: "configmap1",
Name: "pod1",
Namespace: "ns1",
UID: types.UID("test_uid"),
},
Expand Down

0 comments on commit ebbecee

Please sign in to comment.