fix: check only distro id
This commit is contained in:
@ -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
|
||||||
}
|
}
|
||||||
|
مرجع در شماره جدید
Block a user