We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e07c3c5 commit 1b37384Copy full SHA for 1b37384
internal/cli/arguments/completion.go
@@ -155,8 +155,11 @@ func GetInstallableCores() []string {
155
})
156
var res []string
157
// transform the data structure for the completion
158
- for _, i := range platforms.SearchOutput {
159
- res = append(res, i.GetMetadata().GetId()+"\t"+i.GetReleases()[i.GetLatestVersion()].GetName())
+ for _, i := range platforms.GetSearchOutput() {
+ if i.GetLatestCompatibleVersion() == "" {
160
+ continue
161
+ }
162
+ res = append(res, i.GetMetadata().GetId()+"\t"+i.GetLatestCompatibleRelease().GetName())
163
}
164
return res
165
0 commit comments