Skip to content

Commit

Permalink
oci: Add a domainname field
Browse files Browse the repository at this point in the history
opencontainers/runtime-spec#1156
Signed-off-by: utam0k <k0ma@utam0k.jp>
  • Loading branch information
utam0k committed Sep 5, 2022
1 parent 662ce3d commit 6b72eb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/oci/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ pub struct Spec {
pub root: Option<Root>,
#[serde(default, skip_serializing_if = "String::is_empty")]
pub hostname: String,
#[serde(default, skip_serializing_if = "String::is_empty")]
pub domainname: String,
#[serde(default, skip_serializing_if = "Vec::is_empty")]
pub mounts: Vec<Mount>,
#[serde(default, skip_serializing_if = "Option::is_none")]
Expand Down

0 comments on commit 6b72eb2

Please sign in to comment.