sched reconcile copy AutoPromote to DeploymentState

This commit is contained in:
Lang Martin
2019-05-13 16:58:52 -04:00
parent 2753b51b63
commit 2165f8be94

View File

@@ -327,6 +327,7 @@ func (a *allocReconciler) computeGroup(group string, all allocSet) bool {
dstate = &structs.DeploymentState{}
if tg.Update != nil {
dstate.AutoRevert = tg.Update.AutoRevert
dstate.AutoPromote = tg.Update.AutoPromote
dstate.ProgressDeadline = tg.Update.ProgressDeadline
}
}