From 2147d83beb230fd90c3d96afc4a3975924c26564 Mon Sep 17 00:00:00 2001 From: Craig O'Donnell Date: Tue, 20 Feb 2024 17:39:55 -0500 Subject: [PATCH] don't show airgap upload page if embedded cluster (#4459) --- pkg/handlers/license.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/handlers/license.go b/pkg/handlers/license.go index 8a1fb3569e..1e9befa81a 100644 --- a/pkg/handlers/license.go +++ b/pkg/handlers/license.go @@ -414,7 +414,7 @@ func (h *Handler) UploadNewLicense(w http.ResponseWriter, r *http.Request) { return } - if !verifiedLicense.Spec.IsAirgapSupported { + if !verifiedLicense.Spec.IsAirgapSupported || util.IsEmbeddedCluster() { // complete the install online createAppOpts := online.CreateOnlineAppOpts{ PendingApp: &installationtypes.PendingApp{