Skip to content

Commit

Permalink
Merge pull request #18065 from fejta/fix
Browse files Browse the repository at this point in the history
Update each job to each jobs' reported state
  • Loading branch information
k8s-ci-robot committed Jun 24, 2020
2 parents e27ebc8 + 357283a commit 326537f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prow/crier/controller.go
Expand Up @@ -279,8 +279,8 @@ func (c *Controller) processNextItem() bool {
}

log.Info("Reported job, now will update pj")
reportedState := pj.Status.State
for _, pjob := range pjs {
reportedState := pjob.Status.State
// We have to retry here, if we return we lose the information that we already reported this job.
if err := retry.RetryOnConflict(retry.DefaultBackoff, func() error {
// Get it first, this is very cheap
Expand Down

0 comments on commit 326537f

Please sign in to comment.