mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +00:00
Support List() single-matchers
This commit is contained in:
@@ -280,6 +280,15 @@ func TestListPodListSelection(t *testing.T) {
|
||||
},
|
||||
},
|
||||
}
|
||||
fakeEtcdClient.Data["/registry/pods/default/zot"] = tools.EtcdResponseWithError{
|
||||
R: &etcd.Response{
|
||||
Node: &etcd.Node{
|
||||
Value: runtime.EncodeOrDie(latest.Codec, &api.Pod{
|
||||
ObjectMeta: api.ObjectMeta{Name: "zot"},
|
||||
}),
|
||||
},
|
||||
},
|
||||
}
|
||||
storage := NewStorage(helper, nil).Pod
|
||||
|
||||
ctx := api.NewDefaultContext()
|
||||
|
Reference in New Issue
Block a user