From f05f4643e56da2cfd89f669a00f81cd0095282ae Mon Sep 17 00:00:00 2001 From: hc-github-team-nomad-core <82989552+hc-github-team-nomad-core@users.noreply.github.com> Date: Mon, 15 Apr 2024 16:40:57 -0500 Subject: [PATCH] backport of commit ee213c3dddf7d6fdfd894fd9fa7a18e105095bb7 (#20402) Co-authored-by: Daniel Bennett --- nomad/structs/structs.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nomad/structs/structs.go b/nomad/structs/structs.go index daeae2687b0..a614b98782d 100644 --- a/nomad/structs/structs.go +++ b/nomad/structs/structs.go @@ -4475,8 +4475,10 @@ type Job struct { SubmitTime int64 // Raft Indexes - CreateIndex uint64 - ModifyIndex uint64 + CreateIndex uint64 + // ModifyIndex is the index at which any state of the job last changed + ModifyIndex uint64 + // JobModifyIndex is the index at which the job *specification* last changed JobModifyIndex uint64 }