gen-manifests: copy whole repo config when generating tests

The bug wasn't caught because the PackageSets field of the repository
wasn't being copied after parsing the compose request for the test
manifest.

This should now catch future occurrences of this bug.
This commit is contained in:
Achilleas Koutsou 2023-02-16 14:00:39 +01:00 committed by Tomáš Hozza
parent b0a6b486a1
commit b8fc241755

View file

@ -199,8 +199,12 @@ func convertRepo(r repository) rpmmd.RepoConfig {
MirrorList: r.MirrorList,
GPGKeys: keys,
CheckGPG: r.CheckGPG,
CheckRepoGPG: false,
IgnoreSSL: false,
MetadataExpire: r.MetadataExpire,
RHSM: r.RHSM,
ImageTypeTags: r.ImageTypeTags,
PackageSets: r.PackageSets,
}
}