tests: kbs: Fix rust installation

`externals.coco-kbs.toolchain` is not defined, get the rust_version from
`externals.coco-trustee.toolchain` instead.

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2024-05-21 20:55:00 +02:00
parent fa8b5c76b8
commit 27d7f4c5b8
No known key found for this signature in database
GPG Key ID: EE926C2BDACC177B

View File

@ -139,7 +139,7 @@ kbs_install_cli() {
# Mininum required version to build the client (read from versions.yaml)
local rust_version
ensure_yq
rust_version=$(get_from_kata_deps "externals.coco-kbs.toolchain")
rust_version=$(get_from_kata_deps "externals.coco-trustee.toolchain")
# Currently kata version from version.yaml is 1.72.0
# which doesn't match the requirement, so let's pass
# the required version.