fix updateJob scheduling of resync

This commit is contained in:
Jordan Liggitt 2018-07-11 17:10:10 -04:00
parent 82c986ecbc
commit 6d6842da0b
No known key found for this signature in database
GPG Key ID: 39928704103C7229

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