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
|
|
@ -36,7 +36,7 @@ func TestComposeStatusFromLegacyError(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Fatalf("error creating osbuild manifest: %v", err)
|
||||
}
|
||||
mf, err := manifest.Serialize(nil)
|
||||
mf, err := manifest.Serialize(nil, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("error serializing osbuild manifest: %v", err)
|
||||
}
|
||||
|
|
@ -89,7 +89,7 @@ func TestComposeStatusFromJobError(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Fatalf("error creating osbuild manifest: %v", err)
|
||||
}
|
||||
mf, err := manifest.Serialize(nil)
|
||||
mf, err := manifest.Serialize(nil, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("error serializing osbuild manifest: %v", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue