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 21:17:16 -07:00
parent 706322f826
commit c825ae2404

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
}