Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Commit d8b4881

Browse files
committed
Platform should be optional
Signed-off-by: Uchio KONDO <[email protected]>
1 parent bedd974 commit d8b4881

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

oci/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,6 @@ pub struct Spec {
625625
#[serde(default, skip_serializing_if = "String::is_empty",
626626
rename = "ociVersion")]
627627
pub version: String,
628-
pub platform: Platform,
629628
pub process: Process,
630629
pub root: Root,
631630
#[serde(default, skip_serializing_if = "String::is_empty")]

src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,6 @@ fn finish_create(id: &str, dir: &str, matches: &ArgMatches) -> Result<()> {
599599
};
600600
let updated = Spec {
601601
version: spec.version,
602-
platform: spec.platform,
603602
process: spec.process,
604603
root: oci::Root {
605604
path: rootfs,

0 commit comments

Comments
 (0)