mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
add namespace index to rc and pod
This commit is contained in:
@@ -1139,7 +1139,7 @@ func TestCleanupOrphanedPods(t *testing.T) {
|
||||
nc.nodeStore.Store.Add(newNode("bar"))
|
||||
for _, pod := range pods {
|
||||
p := pod
|
||||
nc.podStore.Store.Add(&p)
|
||||
nc.podStore.Indexer.Add(&p)
|
||||
}
|
||||
|
||||
var deleteCalls int
|
||||
|
||||
Reference in New Issue
Block a user