mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 02:09:56 +00:00
solve conflict after rebase
This commit is contained in:
parent
b9f9944351
commit
62846b8b3c
6
pkg/client/cache/listers_test.go
vendored
6
pkg/client/cache/listers_test.go
vendored
@ -294,7 +294,8 @@ func TestStoreToJobLister(t *testing.T) {
|
|||||||
{ObjectMeta: api.ObjectMeta{Name: "basic"}},
|
{ObjectMeta: api.ObjectMeta{Name: "basic"}},
|
||||||
},
|
},
|
||||||
list: func() ([]extensions.Job, error) {
|
list: func() ([]extensions.Job, error) {
|
||||||
return lister.List()
|
list, err := lister.List()
|
||||||
|
return list.Items, err
|
||||||
},
|
},
|
||||||
outJobNames: sets.NewString("basic"),
|
outJobNames: sets.NewString("basic"),
|
||||||
msg: "basic listing failed",
|
msg: "basic listing failed",
|
||||||
@ -307,7 +308,8 @@ func TestStoreToJobLister(t *testing.T) {
|
|||||||
{ObjectMeta: api.ObjectMeta{Name: "complex2"}},
|
{ObjectMeta: api.ObjectMeta{Name: "complex2"}},
|
||||||
},
|
},
|
||||||
list: func() ([]extensions.Job, error) {
|
list: func() ([]extensions.Job, error) {
|
||||||
return lister.List()
|
list, err := lister.List()
|
||||||
|
return list.Items, err
|
||||||
},
|
},
|
||||||
outJobNames: sets.NewString("basic", "complex", "complex2"),
|
outJobNames: sets.NewString("basic", "complex", "complex2"),
|
||||||
msg: "listing multiple jobs failed",
|
msg: "listing multiple jobs failed",
|
||||||
|
Loading…
Reference in New Issue
Block a user