Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
Signed-off-by: Prepmachine4 <[email protected]>
  • Loading branch information
Prepmachine4 committed Oct 8, 2024
1 parent 25ce6a0 commit 353f46d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/scheduler/framework/job_updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ func (ju *jobUpdater) updateJob(index int) {
job.PodGroup.Status = jobStatus(ssn, job)
oldStatus, found := ssn.podGroupStatus[job.UID]
updatePG := !found || isPodGroupStatusUpdated(job.PodGroup.Status, oldStatus)
klog.Infof("oldStatus: %v, newStatus: %v, updatePG: %v", oldStatus, job.PodGroup.Status, updatePG)
if _, err := ssn.cache.UpdateJobStatus(job, updatePG); err != nil {
klog.Errorf("Failed to update job <%s/%s>: %v",
job.Namespace, job.Name, err)
Expand Down

0 comments on commit 353f46d

Please sign in to comment.