1
0
Fork 0

fix: check only distro id

timestamps
dump_stack() 2023-05-24 21:58:25 +00:00
parent 49760c065e
commit 605871d17a
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 1 deletions

View File

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