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
TaskStates map[string]*TaskState
DeploymentStatus *AllocDeploymentStatus
RescheduleTracker *RescheduleTracker
FollowupEvalID string
RescheduleTracker *RescheduleTracker
CreateIndex uint64
ModifyIndex uint64
CreateTime int64

View File

@ -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