mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-18 21:14:37 +01:00
If update_spec_device_list() is given a device that can't be found in the OCI spec, it currently does nothing, and returns Ok(()). That doesn't seem like what we'd expect and is not what the Go agent in Kata 1 does. Change it to return an error in that case, like Kata 1. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>