Merge pull request #66085 from liggitt/updatejob

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

fix updateJob scheduling of resync

fixes #66071 

```release-note
NONE
```
This commit is contained in:
Kubernetes Submit Queue
2018-08-27 17:40:54 -07:00
committed by GitHub

View File

@@ -320,7 +320,7 @@ func (jm *JobController) deletePod(obj interface{}) {
}
func (jm *JobController) updateJob(old, cur interface{}) {
oldJob := cur.(*batch.Job)
oldJob := old.(*batch.Job)
curJob := cur.(*batch.Job)
// never return error