mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-26 15:55:24 +00:00
With the plugins support added to CoCo Resource URI scheme, users may want to use get_cdh_resource() to pull resources from Trustee plugins. Currently, get_cdh_resource() unconditionally uses kbs:// scheme which prevents callers to specify plugin paths as kbs+<plugin>://. Move kbs:// scheme out of get_cdh_resource() helper and update call sites accordingly. Currently, only s390x path uses this so only one caller needs to be updated. Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>