1
0

fix: check only distro id

This commit is contained in:
2023-05-24 21:58:25 +00:00
والد 49760c065e
کامیت 605871d17a

مشاهده پرونده

@ -168,7 +168,7 @@ type Artifact struct {
func (ka Artifact) checkSupport(ki distro.KernelInfo, km Target) ( func (ka Artifact) checkSupport(ki distro.KernelInfo, km Target) (
supported bool, err error) { supported bool, err error) {
if !ki.Distro.Equal(km.Distro) { if ki.Distro.ID != km.Distro.ID {
supported = false supported = false
return return
} }