distro: remove OSTreeImageOptions type and use ostree.RequestParams

This commit is contained in:
Achilleas Koutsou 2022-01-14 20:38:17 +01:00 committed by Ondřej Budai
parent 102c322ec9
commit f885de4c68
5 changed files with 9 additions and 13 deletions

View file

@ -2300,7 +2300,7 @@ func (api *API) composeHandler(writer http.ResponseWriter, request *http.Request
manifest, err := imageType.Manifest(bp.Customizations,
distro.ImageOptions{
Size: size,
OSTree: distro.OSTreeImageOptions{
OSTree: ostree.RequestParams{
Ref: cr.OSTree.Ref,
Parent: cr.OSTree.Parent,
URL: cr.OSTree.URL,