Skip to content

Commit 7a78e4f

Browse files
authored
fix(backends gallery): meta packages do not have URIs (#5740)
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent 6f41a6f commit 7a78e4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/gallery/backend_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func (m *GalleryBackend) SetGallery(gallery config.Gallery) {
3030
}
3131

3232
func (m *GalleryBackend) IsMeta() bool {
33-
return len(m.CapabilitiesMap) > 0
33+
return len(m.CapabilitiesMap) > 0 && m.URI == ""
3434
}
3535

3636
func (m *GalleryBackend) SetInstalled(installed bool) {

0 commit comments

Comments
 (0)