From ee213c3dddf7d6fdfd894fd9fa7a18e105095bb7 Mon Sep 17 00:00:00 2001 From: Daniel Bennett Date: Mon, 15 Apr 2024 16:39:16 -0500 Subject: [PATCH] comment on Job.ModifyIndex vs Job.JobModifyIndex (#20393) --- 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 05bb642f5..561164709 100644 --- a/nomad/structs/structs.go +++ b/nomad/structs/structs.go @@ -4482,8 +4482,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 }