From 9b6a03bac54e90c0b863b573367578268f8d2b68 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:41:01 -0500 Subject: [PATCH] backport of commit ee213c3dddf7d6fdfd894fd9fa7a18e105095bb7 (#20401) 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 9f80ae8ac467..22a8ac742ca2 100644 --- a/nomad/structs/structs.go +++ b/nomad/structs/structs.go @@ -4527,8 +4527,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 }