From 774cc9e63864fa6518a3e4d094d2e65a4eb7b6b4 Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Fri, 26 Aug 2022 11:07:22 +0200 Subject: [PATCH] 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. --- internal/cloudapi/v2/handler.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/cloudapi/v2/handler.go b/internal/cloudapi/v2/handler.go index a4e32370b..ed3e82e3b 100644 --- a/internal/cloudapi/v2/handler.go +++ b/internal/cloudapi/v2/handler.go @@ -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{