Skip to content

Commit

Permalink
Merge pull request #513 from wangyuqing4/cleanup
Browse files Browse the repository at this point in the history
fix podgroup phase
  • Loading branch information
volcano-sh-bot authored Nov 7, 2019
2 parents 8c29a3e + 6cfe6a5 commit 124d6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scheduler/framework/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func jobStatus(ssn *Session, jobInfo *api.JobInfo) scheduling.PodGroupStatus {
} else {
allocated := 0
for status, tasks := range jobInfo.TaskStatusIndex {
if api.AllocatedStatus(status) {
if api.AllocatedStatus(status) || status == api.Succeeded {
allocated += len(tasks)
}
}
Expand Down

0 comments on commit 124d6aa

Please sign in to comment.