Skip to content

Commit

Permalink
Merge pull request volcano-sh#74 from volcano-sh/update-job
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Ma authored Apr 9, 2019
2 parents 84e5064 + 8046b92 commit a36d899
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/controllers/job/job_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,9 @@ func NewJobController(config *rest.Config) *Controller {

cc.jobInformer = vkinfoext.NewSharedInformerFactory(cc.vkClients, 0).Batch().V1alpha1().Jobs()
cc.jobInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
AddFunc: cc.addJob,
UpdateFunc: cc.updateJob,
AddFunc: cc.addJob,
// TODO: enable this until we find an appropriate way.
// UpdateFunc: cc.updateJob,
DeleteFunc: cc.deleteJob,
})
cc.jobLister = cc.jobInformer.Lister()
Expand Down

0 comments on commit a36d899

Please sign in to comment.