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 26, 2024
1 parent db420b7 commit e1da6f6
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 e1da6f6

Please sign in to comment.