Merge pull request #14336 from erictune/more-verbosity-job-controller

Log the error when unable to update job.
This commit is contained in:
Eric Tune 2015-09-22 11:03:11 -07:00
commit b113b5ac2a

View File

@ -341,7 +341,7 @@ func (jm *JobController) syncJob(key string) error {
job.Status.Unsuccessful = unsuccessful
if err := jm.updateHandler(&job); err != nil {
glog.Errorf("Failed to update job %v, requeuing", job.Name)
glog.Errorf("Failed to update job %v, requeuing. Error: %v", job.Name, err)
jm.enqueueController(&job)
}
}