Skip to content

Commit

Permalink
rust,runtime: add idle type to CPU
Browse files Browse the repository at this point in the history
See: opencontainers/runtime-spec#1136

Signed-off-by: Aditya R <arajan@redhat.com>
  • Loading branch information
flouthoc committed Aug 26, 2022
1 parent b1b78a7 commit e30b0ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,9 @@ pub struct PurpleCpu {
#[serde(rename = "cpus")]
pub cpus: Option<String>,

#[serde(rename = "idle")]
pub idle: Option<i64>,

#[serde(rename = "mems")]
pub mems: Option<String>,

Expand Down

0 comments on commit e30b0ca

Please sign in to comment.