mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-17 08:53:26 +00:00
genpolicy: Align agent-ctl OCI Spec with oci-spec-rs
Fixes #9766 Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
This commit is contained in:
parent
c500fd5761
commit
b3eab5ffea
879
src/tools/genpolicy/Cargo.lock
generated
879
src/tools/genpolicy/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -47,7 +47,7 @@ serde-transcode = "1.1.1"
|
||||
tokio = {version = "1.38.0", features = ["rt-multi-thread"]}
|
||||
|
||||
# OCI container specs.
|
||||
oci = { path = "../../libs/oci" }
|
||||
oci-spec = { version = "0.6.8", features = ["runtime"] }
|
||||
|
||||
# Kata Agent protocol.
|
||||
protocols = { path = "../../libs/protocols", features = ["with-serde"] }
|
||||
|
@ -20,6 +20,7 @@ use crate::yaml;
|
||||
use anyhow::Result;
|
||||
use base64::{engine::general_purpose, Engine as _};
|
||||
use log::debug;
|
||||
use oci_spec::runtime as oci;
|
||||
use protocols::agent;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_yaml::Value;
|
||||
|
Loading…
Reference in New Issue
Block a user