Skip to content

Commit 8623652

Browse files
committed
do not support job update
1 parent 69b6e85 commit 8623652

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pkg/controllers/job/job_controller.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,9 @@ func NewJobController(config *rest.Config) *Controller {
118118

119119
cc.jobInformer = vkinfoext.NewSharedInformerFactory(cc.vkClients, 0).Batch().V1alpha1().Jobs()
120120
cc.jobInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
121-
AddFunc: cc.addJob,
122-
UpdateFunc: cc.updateJob,
121+
AddFunc: cc.addJob,
122+
// TODO: enable this until we find an appropriate way.
123+
// UpdateFunc: cc.updateJob,
123124
DeleteFunc: cc.deleteJob,
124125
})
125126
cc.jobLister = cc.jobInformer.Lister()

0 commit comments

Comments
 (0)