mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Rename client/cache Store.Contains to ContainedIDs
This commit is contained in:
4
pkg/client/cache/store_test.go
vendored
4
pkg/client/cache/store_test.go
vendored
@@ -62,7 +62,7 @@ func doTestStore(t *testing.T, store Store) {
|
||||
}
|
||||
|
||||
// Check that ID list is correct.
|
||||
ids := store.Contains()
|
||||
ids := store.ContainedIDs()
|
||||
if !ids.HasAll("a", "c", "e") {
|
||||
t.Errorf("missing items")
|
||||
}
|
||||
@@ -90,7 +90,7 @@ func doTestStore(t *testing.T, store Store) {
|
||||
}
|
||||
|
||||
// Check that ID list is correct.
|
||||
ids := store.Contains()
|
||||
ids := store.ContainedIDs()
|
||||
if !ids.HasAll("foo", "bar") {
|
||||
t.Errorf("missing items")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user