mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 00:07:50 +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"}},
|
||||
},
|
||||
list: func() ([]extensions.Job, error) {
|
||||
return lister.List()
|
||||
list, err := lister.List()
|
||||
return list.Items, err
|
||||
},
|
||||
outJobNames: sets.NewString("basic"),
|
||||
msg: "basic listing failed",
|
||||
@ -307,7 +308,8 @@ func TestStoreToJobLister(t *testing.T) {
|
||||
{ObjectMeta: api.ObjectMeta{Name: "complex2"}},
|
||||
},
|
||||
list: func() ([]extensions.Job, error) {
|
||||
return lister.List()
|
||||
list, err := lister.List()
|
||||
return list.Items, err
|
||||
},
|
||||
outJobNames: sets.NewString("basic", "complex", "complex2"),
|
||||
msg: "listing multiple jobs failed",
|
||||
|
Loading…
Reference in New Issue
Block a user