agent: the parts check counts the templates archives a composition was rendered from as fetched (A-481, A-481a)
compose fills Composed.Templates from the resolved manifest's TemplatesDigest; partsDifference adds them to the digests fetched. Builds: design 47 G A-481, A-481a
This commit is contained in:
@@ -297,6 +297,10 @@ func compositions(in Input, node string, fps map[string]string, mode Mode, appli
|
||||
}
|
||||
if m, ok := in.Catalogue[c.Module]; ok && c.Module != "" {
|
||||
c.Data = len(m.DataItems()) > 0
|
||||
// The archive its files were rendered from, which the parts check counts as fetched (design 47 G A-481a).
|
||||
if m.TemplatesDigest != "" {
|
||||
c.Templates = []string{m.TemplatesDigest}
|
||||
}
|
||||
out[key] = c
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user