trivial: Move the date_eol attribute to the component node

The LVFS has been changed to do the same, and no real vendors have
added EOL information yet.
This commit is contained in:
Richard Hughes 2022-02-11 08:35:23 +00:00
parent 73377b2a53
commit ad0b274cec

View File

@ -762,7 +762,7 @@ fu_engine_set_release_from_appstream(FuEngine *self,
fwupd_release_set_update_image(rel, tmp);
}
}
if (xb_node_get_attr(release, "date_eol") != NULL)
if (xb_node_get_attr(component, "date_eol") != NULL)
fu_device_add_flag(dev, FWUPD_DEVICE_FLAG_END_OF_LIFE);
/* sort the locations by scheme */