Add the rhsm.facts stage.
We initially provide a Facts file that stores the `ApiType`. This is the API that was used to request the compose.
This commit is contained in:
parent
dba76a1204
commit
c5f335bceb
9 changed files with 111 additions and 16 deletions
|
|
@ -2351,6 +2351,9 @@ func (api *API) composeHandler(writer http.ResponseWriter, request *http.Request
|
|||
URL: cr.OSTree.URL,
|
||||
},
|
||||
}
|
||||
options.Facts = &distro.FactsImageOptions{
|
||||
ApiType: "weldr",
|
||||
}
|
||||
|
||||
packageSets, err := api.depsolveBlueprintForImageType(*bp, options, imageType)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue