Skip to content

Commit

Permalink
Merge pull request #385 from hzxuzhonghu/resync
Browse files Browse the repository at this point in the history
Fix error resync logic
  • Loading branch information
volcano-sh-bot authored Aug 2, 2019
2 parents 7243054 + 2768893 commit 1a856a1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/controllers/job/job_controller_actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,6 @@ func (cc *Controller) syncJob(jobInfo *apis.JobInfo, updateStatus state.UpdateSt
pod.Name, job.Name, err)
appendError(&creationErrs, fmt.Errorf("failed to create pod %s, err: %#v", pod.Name, err))
} else {
if err != nil && apierrors.IsAlreadyExists(err) {
cc.resyncTask(pod)
}

classifyAndAddUpPodBaseOnPhase(newPod, &pending, &running, &succeeded, &failed, &unknown)
glog.V(3).Infof("Created Task <%s> of Job <%s/%s>",
pod.Name, job.Namespace, job.Name)
Expand Down

0 comments on commit 1a856a1

Please sign in to comment.