diff --git a/api/allocations.go b/api/allocations.go index fc035ebb16c..dac3e2bd271 100644 --- a/api/allocations.go +++ b/api/allocations.go @@ -130,8 +130,8 @@ type AllocationListStub struct { ClientDescription string TaskStates map[string]*TaskState DeploymentStatus *AllocDeploymentStatus - RescheduleTracker *RescheduleTracker FollowupEvalID string + RescheduleTracker *RescheduleTracker CreateIndex uint64 ModifyIndex uint64 CreateTime int64 diff --git a/nomad/structs/structs.go b/nomad/structs/structs.go index 1ea012dea09..601942951ae 100644 --- a/nomad/structs/structs.go +++ b/nomad/structs/structs.go @@ -5987,6 +5987,7 @@ func (a *Allocation) Stub() *AllocListStub { TaskStates: a.TaskStates, DeploymentStatus: a.DeploymentStatus, FollowupEvalID: a.FollowupEvalID, + RescheduleTracker: a.RescheduleTracker, CreateIndex: a.CreateIndex, ModifyIndex: a.ModifyIndex, CreateTime: a.CreateTime, @@ -6010,6 +6011,7 @@ type AllocListStub struct { TaskStates map[string]*TaskState DeploymentStatus *AllocDeploymentStatus FollowupEvalID string + RescheduleTracker *RescheduleTracker CreateIndex uint64 ModifyIndex uint64 CreateTime int64