node-engine: a catalog revision's manifest digest is made the candidate's hex form (A-226b)

Builds: design 47 G (G-22 lead answers 2) A-226b
This commit is contained in:
2026-11-16 14:26:03 +01:00
parent 6eb41a17e1
commit 3b365ba7cc
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ func TestTheNodeComposesACandidateOnAsk(t *testing.T) {
return json.Marshal(meshcatalog.RevisionAnswer{NoneYet: true})
}
moved := entry
moved.Fp, moved.ManifestDigest = fpNew, digest2
moved.Fp, moved.ManifestDigest = fpNew, "sha256:"+digest2 // the entry carries the prefixed form
return json.Marshal(meshcatalog.RevisionAnswer{Revision: &meshcatalog.CatalogRevision{Branch: "main", Revision: 362}, Entries: []meshcatalog.CatalogEntry{moved}})
}
return json.Marshal(meshcatalog.EntryAnswer{Entry: entry})