From 635d332d5d1563ac7779d7adb860514d8554ceb7 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 1 Dec 2023 09:48:02 -0500 Subject: [PATCH] install: Drop `commit` from SourceInfo This is dead code right now; dropping it helps lower our dependency on ostree. Signed-off-by: Colin Walters --- lib/src/install.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/src/install.rs b/lib/src/install.rs index dafe20489..89863cf3f 100644 --- a/lib/src/install.rs +++ b/lib/src/install.rs @@ -204,9 +204,6 @@ pub(crate) struct SourceInfo { pub(crate) imageref: ostree_container::ImageReference, /// The digest to use for pulls pub(crate) digest: String, - /// The embedded base OSTree commit checksum - #[allow(dead_code)] - pub(crate) commit: String, /// Whether or not SELinux appears to be enabled in the source commit pub(crate) selinux: bool, } @@ -369,7 +366,6 @@ impl SourceInfo { Ok(Self { imageref, digest, - commit, selinux, }) }