Completing the test for distro version

Signed-off-by: Jose Miguel Parrella <j@bureado.com>
This commit is contained in:
Jose Miguel Parrella
2021-06-25 22:18:40 -07:00
parent 706322f826
commit c825ae2404
+1 -1
View File
@@ -91,7 +91,7 @@ func assemble(name, version, like string) *Distro {
distroType, ok := IDMapping[name]
// Both distro and version must be present
if len(name) == 0 {
if len(name) == 0 && len(version) == 0 {
return nil
}