-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Job Summary - Part 2 #1455
Job Summary - Part 2 #1455
Conversation
405a11a
to
ff63033
Compare
// Updating the allocs with the job id and task group name | ||
for _, alloc := range req.Alloc { | ||
if existing, _ := n.state.AllocByID(alloc.ID); existing != nil { | ||
alloc.JobID = existing.JobID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are relying on this behavior I would add a unit test to ensure that this doesn't change
We need to handle the 0.4.0 -> 0.4.1 upgrade as the Job Summaries will not exist |
summaries[0] = "Task Group|Queued|Starting|Running|Failed|Complete|Lost" | ||
idx := 1 | ||
for tg, tgs := range summary.Summary { | ||
summaries[idx] = fmt.Sprintf("%s|%d|%d|%d|%d|%d|%d", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Output this as well for the nomad status
case
0042f20
to
6e8bf9c
Compare
… queued allocations
…e number of queued allocations
…n the plan made partial progress
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
No description provided.