diff --git a/internal/distro/distro.go b/internal/distro/distro.go index 5e1b0f172..b1125aae2 100644 --- a/internal/distro/distro.go +++ b/internal/distro/distro.go @@ -97,6 +97,7 @@ type ImageOptions struct { type OSTreeImageOptions struct { Ref string Parent string + URL string } // The SubscriptionImageOptions specify subscription-specific image options diff --git a/internal/weldr/api.go b/internal/weldr/api.go index 0e27ced0e..4ff555f47 100644 --- a/internal/weldr/api.go +++ b/internal/weldr/api.go @@ -1997,6 +1997,7 @@ func (api *API) composeHandler(writer http.ResponseWriter, request *http.Request OSTree: distro.OSTreeImageOptions{ Ref: cr.OSTree.Ref, Parent: cr.OSTree.Parent, + URL: cr.OSTree.URL, }, }, api.allRepositories(),