Skip to content

Commit

Permalink
fix(#3393): Fix e2e CronJob test
Browse files Browse the repository at this point in the history
(cherry picked from commit e232740)
  • Loading branch information
christophd authored and squakez committed Nov 3, 2022
1 parent 2af03f0 commit 282a82d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/common/cron_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (
)

func TestRunCronExample(t *testing.T) {
ok, err := kubernetes.IsAPIResourceInstalled(TestClient(), batchv1.SchemeGroupVersion.Group, reflect.TypeOf(batchv1.CronJob{}).Name())
ok, err := kubernetes.IsAPIResourceInstalled(TestClient(), batchv1.SchemeGroupVersion.String(), reflect.TypeOf(batchv1.CronJob{}).Name())
assert.Nil(t, err)

if !ok {
Expand Down

0 comments on commit 282a82d

Please sign in to comment.