add reverted job version to deployment update response

This commit is contained in:
Alex Dadgar 2017-07-06 13:55:44 -07:00
parent a7fdc74bd4
commit 371b2bdacc
1 changed files with 5 additions and 0 deletions

View File

@ -878,6 +878,11 @@ type DeploymentUpdateResponse struct {
EvalID string
EvalCreateIndex uint64
DeploymentModifyIndex uint64
// RevertedJobVersion is the version the job was reverted to. If unset, the
// job wasn't reverted
RevertedJobVersion *uint64
WriteMeta
}