Add RescheduleTracker to allocs list stub struct

This commit is contained in:
Preetha Appan 2018-05-01 14:53:47 -05:00
parent e1cd5af0be
commit 274bed1892
No known key found for this signature in database
GPG Key ID: 9F7C19990A50EAFC
2 changed files with 3 additions and 1 deletions

View File

@ -130,8 +130,8 @@ type AllocationListStub struct {
ClientDescription string ClientDescription string
TaskStates map[string]*TaskState TaskStates map[string]*TaskState
DeploymentStatus *AllocDeploymentStatus DeploymentStatus *AllocDeploymentStatus
RescheduleTracker *RescheduleTracker
FollowupEvalID string FollowupEvalID string
RescheduleTracker *RescheduleTracker
CreateIndex uint64 CreateIndex uint64
ModifyIndex uint64 ModifyIndex uint64
CreateTime int64 CreateTime int64

View File

@ -5987,6 +5987,7 @@ func (a *Allocation) Stub() *AllocListStub {
TaskStates: a.TaskStates, TaskStates: a.TaskStates,
DeploymentStatus: a.DeploymentStatus, DeploymentStatus: a.DeploymentStatus,
FollowupEvalID: a.FollowupEvalID, FollowupEvalID: a.FollowupEvalID,
RescheduleTracker: a.RescheduleTracker,
CreateIndex: a.CreateIndex, CreateIndex: a.CreateIndex,
ModifyIndex: a.ModifyIndex, ModifyIndex: a.ModifyIndex,
CreateTime: a.CreateTime, CreateTime: a.CreateTime,
@ -6010,6 +6011,7 @@ type AllocListStub struct {
TaskStates map[string]*TaskState TaskStates map[string]*TaskState
DeploymentStatus *AllocDeploymentStatus DeploymentStatus *AllocDeploymentStatus
FollowupEvalID string FollowupEvalID string
RescheduleTracker *RescheduleTracker
CreateIndex uint64 CreateIndex uint64
ModifyIndex uint64 ModifyIndex uint64
CreateTime int64 CreateTime int64