mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
[ui] Adds a "Scheduling" filter to the job.allocations page (#17227)
* Basic filter concept * Make sure NextAllocation gets sent up with allocation stub
This commit is contained in:
@@ -326,6 +326,7 @@ func (a *Allocation) Stub() *AllocationListStub {
|
||||
TaskStates: a.TaskStates,
|
||||
DeploymentStatus: a.DeploymentStatus,
|
||||
FollowupEvalID: a.FollowupEvalID,
|
||||
NextAllocation: a.JobID,
|
||||
RescheduleTracker: a.RescheduleTracker,
|
||||
PreemptedAllocations: a.PreemptedAllocations,
|
||||
PreemptedByAllocation: a.PreemptedByAllocation,
|
||||
@@ -379,6 +380,7 @@ type AllocationListStub struct {
|
||||
TaskStates map[string]*TaskState
|
||||
DeploymentStatus *AllocDeploymentStatus
|
||||
FollowupEvalID string
|
||||
NextAllocation string
|
||||
RescheduleTracker *RescheduleTracker
|
||||
PreemptedAllocations []string
|
||||
PreemptedByAllocation string
|
||||
|
||||
Reference in New Issue
Block a user