Skip to content

Commit e30b0ca

Browse files
committed
rust,runtime: add idle type to CPU
See: opencontainers/runtime-spec#1136 Signed-off-by: Aditya R <arajan@redhat.com>
1 parent b1b78a7 commit e30b0ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/runtime/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,9 @@ pub struct PurpleCpu {
427427
#[serde(rename = "cpus")]
428428
pub cpus: Option<String>,
429429

430+
#[serde(rename = "idle")]
431+
pub idle: Option<i64>,
432+
430433
#[serde(rename = "mems")]
431434
pub mems: Option<String>,
432435

0 commit comments

Comments
 (0)