cloudapi/v2: Don't add rhsm facts

There are workers everywhere which can't deal with this change just
yet. Let's wait until workers can deal with this before adding facts via
the api.
This commit is contained in:
Sanne Raymaekers 2022-08-26 11:07:22 +02:00 committed by Tom Gundersen
parent 1f9ea7714d
commit 774cc9e638

View file

@ -269,9 +269,6 @@ func (h *apiHandlers) PostCompose(ctx echo.Context) error {
}
imageOptions := distro.ImageOptions{Size: imageType.Size(0)}
imageOptions.Facts = &distro.FactsImageOptions{
ApiType: "cloudapi-v2",
}
if request.Customizations != nil && request.Customizations.Subscription != nil {
imageOptions.Subscription = &distro.SubscriptionImageOptions{