manifest: container specs added during serialization
Add a second argument, map[string][]container.Spec, during serialization, which serves the same purpose as the depsolved package sets.
This commit is contained in:
parent
b1f185959b
commit
267a27a1a8
21 changed files with 41 additions and 34 deletions
|
|
@ -468,7 +468,7 @@ func generateManifest(ctx context.Context, workers *worker.Server, depsolveJobID
|
|||
jobResult.JobError = clienterrors.WorkerClientError(clienterrors.ErrorManifestGeneration, reason, nil)
|
||||
return
|
||||
}
|
||||
ms, err := manifest.Serialize(depsolveResults.PackageSpecs)
|
||||
ms, err := manifest.Serialize(depsolveResults.PackageSpecs, nil)
|
||||
|
||||
jobResult.Manifest = ms
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue