Skip to content

Commit

Permalink
Merge pull request #506 from sivanzcw/bugfix
Browse files Browse the repository at this point in the history
Add events for pod with pipelined state
  • Loading branch information
volcano-sh-bot authored Nov 4, 2019
2 parents 5f271fa + db0126c commit 12aa7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scheduler/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ func (sc *SchedulerCache) RecordJobStatusEvent(job *kbapi.JobInfo) {
}

// Update podCondition for tasks Allocated and Pending before job discarded
for _, status := range []api.TaskStatus{api.Allocated, api.Pending} {
for _, status := range []api.TaskStatus{api.Allocated, api.Pending, api.Pipelined} {
for _, taskInfo := range job.TaskStatusIndex[status] {
msg := baseErrorMessage
fitError := job.NodesFitErrors[taskInfo.UID]
Expand Down

0 comments on commit 12aa7a0

Please sign in to comment.