Skip to content

Commit

Permalink
don't show airgap upload page if embedded cluster (#4459)
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig O'Donnell authored Feb 20, 2024
1 parent 6e3b31d commit 2147d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/handlers/license.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 2147d83

Please sign in to comment.