From b3e43f117b18ec62f72214b9372570bebe70f8e9 Mon Sep 17 00:00:00 2001 From: Alessio Perugini Date: Wed, 11 Oct 2023 12:10:55 +0200 Subject: [PATCH] fix regression on 'ParseReference' --- internal/cli/arguments/reference.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/cli/arguments/reference.go b/internal/cli/arguments/reference.go index c6e81375643..f9d8737d415 100644 --- a/internal/cli/arguments/reference.go +++ b/internal/cli/arguments/reference.go @@ -101,11 +101,6 @@ func ParseReference(arg string) (*Reference, error) { }) foundPlatforms := []string{} for _, platform := range platforms.GetSearchOutput() { - installedRelease := platform.GetInstalledRelease() - if installedRelease == nil { - continue - } - platformID := platform.GetMetadata().GetId() platformUser := ret.PackageName + ":" + ret.Architecture // At first we check if the platform the user is searching for matches an available one,