Skip to content

Commit

Permalink
add events for pod with pipelined state
Browse files Browse the repository at this point in the history
  • Loading branch information
sivanzcw committed Nov 3, 2019
1 parent 20b0327 commit db0126c
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 db0126c

Please sign in to comment.