Skip to content

Commit 3f5586f

Browse files
authored
Merge pull request #22 from jeffqumata/patch-1
Use updated CronJob API
2 parents 31430c9 + f7fd089 commit 3f5586f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func informerForName(name string, i informers.SharedInformerFactory) (cache.Shar
107107
case "daemonset":
108108
return i.Apps().V1().DaemonSets().Informer(), wrapper.WrapDaemonSet, nil
109109
case "cronjob":
110-
return i.Batch().V1beta1().CronJobs().Informer(), wrapper.WrapCronJob, nil
110+
return i.Batch().V1().CronJobs().Informer(), wrapper.WrapCronJob, nil
111111
}
112112

113113
return nil, nil, fmt.Errorf("Unsupported informer name %s", name)

0 commit comments

Comments
 (0)