experimental. -> extensions.
This commit is contained in:
@@ -286,23 +286,23 @@ func TestJobStop(t *testing.T) {
|
||||
{
|
||||
Name: "OnlyOneJob",
|
||||
Objs: []runtime.Object{
|
||||
&experimental.Job{ // GET
|
||||
&extensions.Job{ // GET
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Name: name,
|
||||
Namespace: ns,
|
||||
},
|
||||
Spec: experimental.JobSpec{
|
||||
Spec: extensions.JobSpec{
|
||||
Parallelism: &zero,
|
||||
Selector: map[string]string{"k1": "v1"}},
|
||||
},
|
||||
&experimental.JobList{ // LIST
|
||||
Items: []experimental.Job{
|
||||
&extensions.JobList{ // LIST
|
||||
Items: []extensions.Job{
|
||||
{
|
||||
ObjectMeta: api.ObjectMeta{
|
||||
Name: name,
|
||||
Namespace: ns,
|
||||
},
|
||||
Spec: experimental.JobSpec{
|
||||
Spec: extensions.JobSpec{
|
||||
Parallelism: &zero,
|
||||
Selector: map[string]string{"k1": "v1"}},
|
||||
},
|
||||
|
Reference in New Issue
Block a user