fix: check only distro id
This commit is contained in:
parent
49760c065e
commit
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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user